Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000843/0.000843, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.0008208/0.0008208, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.867/0.867, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.164e-05, allocations: 10.22 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5943/0.5944, allocations: 135.9 MB / 1.134 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.607, allocations: 9.933 MB / 1.143 GB, free: 9.031 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6082, allocations: 33.5 kB / 1.143 GB, free: 9.012 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6092, allocations: 287.9 kB / 1.144 GB, free: 8.828 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.6125, allocations: 1.02 MB / 1.145 GB, free: 8.27 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.6152, allocations: 1.125 MB / 1.146 GB, free: 7.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.6176, allocations: 1.807 MB / 1.147 GB, free: 6.723 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.619, allocations: 0.8855 MB / 1.148 GB, free: 6.27 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.6211, allocations: 1.061 MB / 1.149 GB, free: 5.789 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008206/0.622, allocations: 0.5115 MB / 1.15 GB, free: 5.598 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.6222, allocations: 141.5 kB / 1.15 GB, free: 5.598 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.6249, allocations: 1.031 MB / 1.151 GB, free: 5.316 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.6253, allocations: 409.2 kB / 1.151 GB, free: 5.066 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.6259, allocations: 473.2 kB / 1.152 GB, free: 4.836 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.6312, allocations: 2.452 MB / 1.154 GB, free: 3.875 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6312, allocations: 0.6094 kB / 1.154 GB, free: 3.875 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6312, allocations: 0 / 1.154 GB, free: 3.875 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.454e-05/0.6313, allocations: 0 / 1.154 GB, free: 3.875 MB / 1.01 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.003867/0.6351, allocations: 1.721 MB / 1.156 GB, free: 2.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.6352, allocations: 11.98 kB / 1.156 GB, free: 2.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6366, allocations: 319.5 kB / 1.156 GB, free: 2.684 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.6381, allocations: 0.8542 MB / 1.157 GB, free: 2.172 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.6382, allocations: 77 kB / 1.157 GB, free: 2.137 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6383, allocations: 104.9 kB / 1.157 GB, free: 2.105 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.6402, allocations: 1.51 MB / 1.159 GB, free: 1.148 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.6403, allocations: 0.6562 kB / 1.159 GB, free: 1.148 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.6403, allocations: 43.8 kB / 1.159 GB, free: 1.117 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.6404, allocations: 23.91 kB / 1.159 GB, free: 1.117 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.6422, allocations: 1.282 MB / 1.16 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.6466, allocations: 2.628 MB / 1.163 GB, free: 15.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.6481, allocations: 1.022 MB / 1.164 GB, free: 14.96 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.6487, allocations: 409.7 kB / 1.164 GB, free: 14.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.6489, allocations: 51.81 kB / 1.164 GB, free: 14.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.6499, allocations: 0.8671 MB / 1.165 GB, free: 14.27 MB / 1.026 GB Notification: Performance of pre-optimization done (n=103): time 3.757e-06/0.6499, allocations: 1.375 kB / 1.165 GB, free: 14.27 MB / 1.026 GB Notification: Performance of matching and sorting (n=103): time 0.003013/0.6529, allocations: 1.521 MB / 1.166 GB, free: 13.74 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.653, allocations: 205.7 kB / 1.167 GB, free: 13.51 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.6539, allocations: 0.7758 MB / 1.167 GB, free: 13.19 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.654, allocations: 52.56 kB / 1.167 GB, free: 13.14 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.6544, allocations: 476.1 kB / 1.168 GB, free: 12.78 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.6546, allocations: 342.8 kB / 1.168 GB, free: 12.5 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.6549, allocations: 206.7 kB / 1.168 GB, free: 12.41 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.655, allocations: 344.6 kB / 1.169 GB, free: 12.09 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.6555, allocations: 378.9 kB / 1.169 GB, free: 11.96 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.6562, allocations: 0.7004 MB / 1.17 GB, free: 11.49 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6574, allocations: 0.8274 MB / 1.171 GB, free: 11.13 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6574, allocations: 0.875 kB / 1.171 GB, free: 11.13 MB / 1.026 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001886/0.6593, allocations: 1.16 MB / 1.172 GB, free: 10.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.6593, allocations: 5.688 kB / 1.172 GB, free: 10.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6593, allocations: 1.094 kB / 1.172 GB, free: 10.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/0.6597, allocations: 114.7 kB / 1.172 GB, free: 10.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.6603, allocations: 215.3 kB / 1.172 GB, free: 10.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6625, allocations: 2.808 MB / 1.175 GB, free: 7.988 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6633, allocations: 117.6 kB / 1.175 GB, free: 7.93 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.6634, allocations: 48.59 kB / 1.175 GB, free: 7.918 MB / 1.026 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.0006765/0.664, allocations: 314.7 kB / 1.175 GB, free: 7.699 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.6642, allocations: 104.8 kB / 1.175 GB, free: 7.645 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.6664, allocations: 1.342 MB / 1.177 GB, free: 7.121 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6664, allocations: 12.38 kB / 1.177 GB, free: 7.121 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6664, allocations: 0 / 1.177 GB, free: 7.121 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.6664, allocations: 9.859 kB / 1.177 GB, free: 7.117 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.6698, allocations: 2.299 MB / 1.179 GB, free: 6.047 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6699, allocations: 0 / 1.179 GB, free: 6.047 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.6703, allocations: 194.7 kB / 1.179 GB, free: 6.031 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.6706, allocations: 101.8 kB / 1.179 GB, free: 6 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.6707, allocations: 33.19 kB / 1.179 GB, free: 5.984 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.6725, allocations: 2.834 MB / 1.182 GB, free: 3.32 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6725, allocations: 0 / 1.182 GB, free: 3.32 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6744, allocations: 1.265 MB / 1.183 GB, free: 2.77 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.6749, allocations: 239.5 kB / 1.183 GB, free: 2.637 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.675, allocations: 29.31 kB / 1.183 GB, free: 2.617 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.6755, allocations: 76.72 kB / 1.183 GB, free: 2.602 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6757, allocations: 103.8 kB / 1.184 GB, free: 2.574 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.6757, allocations: 43.44 kB / 1.184 GB, free: 2.566 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006361/0.6764, allocations: 0.5416 MB / 1.184 GB, free: 2.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.6764, allocations: 0 / 1.184 GB, free: 2.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00155/0.6779, allocations: 470.9 kB / 1.185 GB, free: 2.223 MB / 1.026 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 (111): * Single equations (assignments): 99 * 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.001526/0.6794, allocations: 0.7787 MB / 1.185 GB, free: 1.926 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.6816, allocations: 1.15 MB / 1.186 GB, free: 1.414 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.6816, allocations: 1.562 kB / 1.186 GB, free: 1.414 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0008833/0.6825, allocations: 0.7128 MB / 1.187 GB, free: 1.035 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6836, allocations: 336 kB / 1.188 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.6869, allocations: 2.129 MB / 1.19 GB, free: 15.84 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.6874, allocations: 0.5072 MB / 1.19 GB, free: 15.7 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.6878, allocations: 139.1 kB / 1.19 GB, free: 15.68 MB / 1.042 GB Notification: Performance of SimCode: time 1.273e-06/0.6878, allocations: 0 / 1.19 GB, free: 15.68 MB / 1.042 GB Notification: Performance of Templates: time 0.03107/0.7188, allocations: 28.36 MB / 1.218 GB, free: 12.97 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.759007821790874]