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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 190.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 496.2 MB / 0.7819 GB, free: 12.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002046/0.002046, allocations: 67.88 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1922/1.369, allocations: 155.1 MB / 1.457 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.387, allocations: 10.75 MB / 1.467 GB, free: 9.168 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/1.389, allocations: 21.31 kB / 1.467 GB, free: 9.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/1.39, allocations: 291.5 kB / 1.468 GB, free: 8.98 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/1.394, allocations: 0.9765 MB / 1.469 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/1.397, allocations: 1.112 MB / 1.47 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002629/1.4, allocations: 1.725 MB / 1.471 GB, free: 6.977 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/1.401, allocations: 0.9438 MB / 1.472 GB, free: 6.473 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/1.403, allocations: 0.7257 MB / 1.473 GB, free: 6.047 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008731/1.404, allocations: 0.6333 MB / 1.474 GB, free: 5.605 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/1.404, allocations: 134.2 kB / 1.474 GB, free: 5.605 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/1.407, allocations: 1.046 MB / 1.475 GB, free: 5.109 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/1.407, allocations: 385.8 kB / 1.475 GB, free: 4.816 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007337/1.408, allocations: 0.6691 MB / 1.476 GB, free: 4.328 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/1.411, allocations: 2.217 MB / 1.478 GB, free: 2.789 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.411, allocations: 1.062 kB / 1.478 GB, free: 2.789 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.452e-06/1.411, allocations: 0 / 1.478 GB, free: 2.789 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.478e-05/1.411, allocations: 0 / 1.478 GB, free: 2.789 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003706/1.415, allocations: 1.756 MB / 1.48 GB, free: 1.426 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.415, allocations: 9.188 kB / 1.48 GB, free: 1.426 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/1.417, allocations: 277.7 kB / 1.48 GB, free: 1.293 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.418, allocations: 0.9144 MB / 1.481 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/1.418, allocations: 74.61 kB / 1.481 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/1.419, allocations: 99.72 kB / 1.481 GB, free: 0.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/1.421, allocations: 1.107 MB / 1.482 GB, free: 15.81 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.421, allocations: 7.938 kB / 1.482 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.421, allocations: 46.55 kB / 1.482 GB, free: 15.77 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/1.421, allocations: 24.03 kB / 1.482 GB, free: 15.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/1.424, allocations: 1.314 MB / 1.483 GB, free: 15.15 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/1.43, allocations: 3.471 MB / 1.487 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.432, allocations: 1.044 MB / 1.488 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/1.433, allocations: 389.6 kB / 1.488 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/1.433, allocations: 132.6 kB / 1.488 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1.434, allocations: 0.6265 MB / 1.489 GB, free: 11.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 3.186e-06/1.434, allocations: 0 / 1.489 GB, free: 11.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.004533/1.439, allocations: 1.63 MB / 1.491 GB, free: 10.16 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.439, allocations: 199.1 kB / 1.491 GB, free: 9.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.44, allocations: 0.8072 MB / 1.492 GB, free: 9.398 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.441, allocations: 45.7 kB / 1.492 GB, free: 9.348 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/1.441, allocations: 469.2 kB / 1.492 GB, free: 8.883 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/1.441, allocations: 329.2 kB / 1.492 GB, free: 8.559 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/1.442, allocations: 186.6 kB / 1.493 GB, free: 8.367 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.442, allocations: 341.9 kB / 1.493 GB, free: 8.027 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/1.443, allocations: 357.8 kB / 1.493 GB, free: 7.68 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/1.443, allocations: 469.6 kB / 1.494 GB, free: 7.199 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/1.445, allocations: 0.7882 MB / 1.494 GB, free: 6.398 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.445, allocations: 4 kB / 1.494 GB, free: 6.395 MB / 1.17 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00265/1.448, allocations: 1.092 MB / 1.495 GB, free: 5.289 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.448, allocations: 5.719 kB / 1.495 GB, free: 5.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/1.448, allocations: 7.938 kB / 1.495 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/1.449, allocations: 109.7 kB / 1.496 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/1.449, allocations: 215.7 kB / 1.496 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/1.453, allocations: 3.061 MB / 1.499 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.454, allocations: 115.5 kB / 1.499 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.454, allocations: 39.97 kB / 1.499 GB, free: 1.457 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (108): * Single equations (assignments): 106 * 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.0007641/1.455, allocations: 315.4 kB / 1.499 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/1.455, allocations: 115.3 kB / 1.499 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.459, allocations: 1.306 MB / 1.501 GB, free: 15.7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.459, allocations: 12 kB / 1.501 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.459, allocations: 0 / 1.501 GB, free: 15.69 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.459, allocations: 7.969 kB / 1.501 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/1.463, allocations: 2.412 MB / 1.503 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.463, allocations: 0 / 1.503 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/1.464, allocations: 195.7 kB / 1.503 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/1.465, allocations: 101.6 kB / 1.503 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/1.465, allocations: 31.91 kB / 1.503 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/1.468, allocations: 3.089 MB / 1.506 GB, free: 9.5 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.468, allocations: 8.016 kB / 1.506 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/1.471, allocations: 1.237 MB / 1.508 GB, free: 8.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/1.472, allocations: 316 kB / 1.508 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.472, allocations: 23.98 kB / 1.508 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/1.473, allocations: 81.81 kB / 1.508 GB, free: 7.801 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/1.473, allocations: 84.81 kB / 1.508 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.473, allocations: 47.91 kB / 1.508 GB, free: 7.672 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008284/1.474, allocations: 0.5693 MB / 1.509 GB, free: 7.105 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.474, allocations: 0 / 1.509 GB, free: 7.105 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001432/1.475, allocations: 462.8 kB / 1.509 GB, free: 6.652 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00236/1.478, allocations: 0.7164 MB / 1.51 GB, free: 6.117 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00273/1.481, allocations: 1.111 MB / 1.511 GB, free: 4.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.481, allocations: 0 / 1.511 GB, free: 4.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.482, allocations: 0.698 MB / 1.512 GB, free: 4.258 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.484, allocations: 356.3 kB / 1.512 GB, free: 3.934 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/1.488, allocations: 2.06 MB / 1.514 GB, free: 1.848 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009314/1.489, allocations: 1.107 MB / 1.515 GB, free: 0.707 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001166/1.49, allocations: 307.7 kB / 1.515 GB, free: 412 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.49, allocations: 123.4 kB / 1.515 GB, free: 292 kB / 1.186 GB Notification: Performance of SimCode: time 1.973e-06/1.49, allocations: 0 / 1.515 GB, free: 292 kB / 1.186 GB Notification: Performance of Templates: time 0.04311/1.534, allocations: 20.59 MB / 1.535 GB, free: 11.89 MB / 1.217 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] 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: 11.322716475464404]