Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008924/0.0008924, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.873/0.873, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.9 MB / 0.6229 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9822 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.319e-05, allocations: 4.391 kB / 0.9822 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6158/0.6159, allocations: 135.9 MB / 1.115 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.6265, allocations: 9.937 MB / 1.125 GB, free: 428 kB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.6272, allocations: 29.94 kB / 1.125 GB, free: 412 kB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.628, allocations: 286.9 kB / 1.125 GB, free: 224 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.6302, allocations: 1.025 MB / 1.126 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.6322, allocations: 1.128 MB / 1.127 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.6338, allocations: 1.812 MB / 1.129 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.635, allocations: 0.9503 MB / 1.13 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.6367, allocations: 1.055 MB / 1.131 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.6373, allocations: 0.518 MB / 1.131 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.6375, allocations: 142.4 kB / 1.131 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.639, allocations: 1.025 MB / 1.132 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.6392, allocations: 404.9 kB / 1.133 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.6397, allocations: 476.8 kB / 1.133 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.6423, allocations: 2.455 MB / 1.136 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6423, allocations: 1.25 kB / 1.136 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6423, allocations: 0 / 1.136 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.064e-05/0.6423, allocations: 0 / 1.136 GB, free: 9.898 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00248/0.6448, allocations: 1.723 MB / 1.137 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6448, allocations: 9.938 kB / 1.137 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.6461, allocations: 323.3 kB / 1.138 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6471, allocations: 0.8657 MB / 1.138 GB, free: 7.789 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.6472, allocations: 76.62 kB / 1.139 GB, free: 7.754 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6473, allocations: 99.38 kB / 1.139 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6488, allocations: 1.511 MB / 1.14 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6488, allocations: 0 / 1.14 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.6489, allocations: 42.84 kB / 1.14 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.6489, allocations: 23.69 kB / 1.14 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.6503, allocations: 1.281 MB / 1.141 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.6533, allocations: 2.632 MB / 1.144 GB, free: 3.996 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.6546, allocations: 1.026 MB / 1.145 GB, free: 3.492 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.6551, allocations: 405.6 kB / 1.145 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.6552, allocations: 59.77 kB / 1.145 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/0.656, allocations: 0.8579 MB / 1.146 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=103): time 2.354e-06/0.656, allocations: 0 / 1.146 GB, free: 2.598 MB / 0.9792 GB Notification: Performance of matching and sorting (n=103): time 0.002432/0.6584, allocations: 1.527 MB / 1.148 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.6585, allocations: 202.3 kB / 1.148 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.6591, allocations: 0.7751 MB / 1.149 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.6592, allocations: 56.61 kB / 1.149 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.6595, allocations: 479.5 kB / 1.149 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6597, allocations: 344.1 kB / 1.15 GB, free: 440 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.6599, allocations: 203.7 kB / 1.15 GB, free: 316 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.66, allocations: 344.7 kB / 1.15 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.6604, allocations: 372.3 kB / 1.15 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.6611, allocations: 0.7025 MB / 1.151 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.6621, allocations: 0.8288 MB / 1.152 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6621, allocations: 4 kB / 1.152 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001683/0.6637, allocations: 1.163 MB / 1.153 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6638, allocations: 4.812 kB / 1.153 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6638, allocations: 0 / 1.153 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.6642, allocations: 117.7 kB / 1.153 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.6647, allocations: 215.2 kB / 1.153 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.6667, allocations: 2.803 MB / 1.156 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.6672, allocations: 114.8 kB / 1.156 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.6672, allocations: 54.44 kB / 1.156 GB, free: 11.29 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.6676, allocations: 310.4 kB / 1.157 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6677, allocations: 107.2 kB / 1.157 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.6694, allocations: 1.351 MB / 1.158 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6695, allocations: 10.88 kB / 1.158 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.6695, allocations: 2.562 kB / 1.158 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.6695, allocations: 7.969 kB / 1.158 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.6721, allocations: 2.315 MB / 1.16 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6721, allocations: 0 / 1.16 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.6725, allocations: 194.1 kB / 1.16 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.6728, allocations: 102.8 kB / 1.161 GB, free: 8.691 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.6728, allocations: 32.09 kB / 1.161 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6745, allocations: 2.828 MB / 1.163 GB, free: 5.695 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6745, allocations: 0 / 1.163 GB, free: 5.695 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.676, allocations: 1.28 MB / 1.165 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.6763, allocations: 242.9 kB / 1.165 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.6764, allocations: 27.94 kB / 1.165 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6768, allocations: 79.86 kB / 1.165 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6769, allocations: 88.78 kB / 1.165 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.95e-05/0.677, allocations: 47.97 kB / 1.165 GB, free: 3.922 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004744/0.6775, allocations: 0.5498 MB / 1.166 GB, free: 3.375 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6775, allocations: 0 / 1.166 GB, free: 3.375 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001057/0.6785, allocations: 470.9 kB / 1.166 GB, free: 2.914 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.6798, allocations: 0.7776 MB / 1.167 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.6813, allocations: 1.154 MB / 1.168 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6813, allocations: 416 / 1.168 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.682, allocations: 0.7176 MB / 1.169 GB, free: 424 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.6828, allocations: 348.4 kB / 1.169 GB, free: 100 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.6853, allocations: 2.131 MB / 1.171 GB, free: 13.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.6857, allocations: 0.5227 MB / 1.172 GB, free: 13.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.6859, allocations: 136.4 kB / 1.172 GB, free: 13.24 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.6859, allocations: 0 / 1.172 GB, free: 13.24 MB / 1.01 GB Notification: Performance of Templates: time 0.02235/0.7083, allocations: 28.46 MB / 1.2 GB, free: 0.8398 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.789788821712136]