Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001436/0.001436, allocations: 113.8 kB / 17.61 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.001433/0.001433, allocations: 186 kB / 20.78 MB, free: 1.547 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.546/1.546, 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.123/3.123, allocations: 496.2 MB / 0.7819 GB, free: 12.26 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.89 kB / 1.136 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347/1.349, allocations: 173.6 MB / 1.305 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2536/1.602, allocations: 169.2 MB / 1.471 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03075/1.633, allocations: 17.6 MB / 1.488 GB, free: 10.3 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/1.636, allocations: 27.81 kB / 1.488 GB, free: 10.27 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/1.638, allocations: 0.5895 MB / 1.488 GB, free: 9.68 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007022/1.645, allocations: 1.818 MB / 1.49 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004846/1.65, allocations: 1.468 MB / 1.492 GB, free: 6.402 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005244/1.655, allocations: 2.859 MB / 1.494 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/1.658, allocations: 1.597 MB / 1.496 GB, free: 1.879 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/1.664, allocations: 1.471 MB / 1.497 GB, free: 464 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/1.666, allocations: 1.136 MB / 1.499 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005381/1.667, allocations: 220 kB / 1.499 GB, free: 15.1 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/1.671, allocations: 1.607 MB / 1.5 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009402/1.672, allocations: 0.7906 MB / 1.501 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/1.673, allocations: 1.22 MB / 1.502 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/1.681, allocations: 3.607 MB / 1.506 GB, free: 7.848 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.681, allocations: 0 / 1.506 GB, free: 7.848 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.734e-06/1.681, allocations: 0 / 1.506 GB, free: 7.848 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.334e-05/1.681, allocations: 0 / 1.506 GB, free: 7.848 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006053/1.687, allocations: 2.826 MB / 1.509 GB, free: 4.949 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.687, allocations: 12.03 kB / 1.509 GB, free: 4.938 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/1.691, allocations: 0.5721 MB / 1.509 GB, free: 4.363 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/1.694, allocations: 1.64 MB / 1.511 GB, free: 2.672 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/1.694, allocations: 135.4 kB / 1.511 GB, free: 2.539 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.694, allocations: 168 kB / 1.511 GB, free: 2.375 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/1.698, allocations: 1.936 MB / 1.513 GB, free: 396 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/1.698, allocations: 4 kB / 1.513 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.698, allocations: 76 kB / 1.513 GB, free: 316 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/1.698, allocations: 40 kB / 1.513 GB, free: 276 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/1.702, allocations: 2.089 MB / 1.515 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/1.713, allocations: 6.246 MB / 1.521 GB, free: 7.535 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/1.717, allocations: 2.005 MB / 1.523 GB, free: 5.457 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.718, allocations: 0.7061 MB / 1.524 GB, free: 4.746 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.719, allocations: 429.6 kB / 1.524 GB, free: 4.254 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/1.721, allocations: 1.013 MB / 1.525 GB, free: 3.219 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/1.721, allocations: 0 / 1.525 GB, free: 3.219 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007202/1.728, allocations: 2.951 MB / 1.528 GB, free: 160 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/1.728, allocations: 201.2 kB / 1.528 GB, free: 15.92 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/1.731, allocations: 1.784 MB / 1.53 GB, free: 14.12 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002312/1.731, allocations: 57.7 kB / 1.53 GB, free: 14.06 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/1.732, allocations: 0.8481 MB / 1.531 GB, free: 13.2 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/1.733, allocations: 0.4918 MB / 1.531 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/1.733, allocations: 254.8 kB / 1.532 GB, free: 12.45 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.734, allocations: 361.9 kB / 1.532 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.735, allocations: 0.5882 MB / 1.533 GB, free: 11.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/1.736, allocations: 0.8013 MB / 1.533 GB, free: 10.64 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/1.739, allocations: 1.337 MB / 1.535 GB, free: 9.301 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.739, allocations: 0 / 1.535 GB, free: 9.301 MB / 1.217 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004273/1.743, allocations: 1.812 MB / 1.536 GB, free: 7.465 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.743, allocations: 7.938 kB / 1.536 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.743, allocations: 8.031 kB / 1.536 GB, free: 7.449 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.744, allocations: 216.1 kB / 1.537 GB, free: 7.223 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.746, allocations: 335.5 kB / 1.537 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007035/1.753, allocations: 7.315 MB / 1.544 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.755, allocations: 167 kB / 1.544 GB, free: 14.71 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.755, allocations: 55.95 kB / 1.544 GB, free: 14.66 MB / 1.232 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001234/1.756, allocations: 487.2 kB / 1.545 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/1.757, allocations: 190.8 kB / 1.545 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/1.761, allocations: 2.121 MB / 1.547 GB, free: 11.83 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.761, allocations: 12 kB / 1.547 GB, free: 11.82 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.761, allocations: 4 kB / 1.547 GB, free: 11.82 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.761, allocations: 7.969 kB / 1.547 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/1.769, allocations: 3.976 MB / 1.551 GB, free: 7.754 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.769, allocations: 0 / 1.551 GB, free: 7.754 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.771, allocations: 315.5 kB / 1.551 GB, free: 7.445 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009536/1.772, allocations: 220 kB / 1.551 GB, free: 7.215 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.772, allocations: 39.97 kB / 1.551 GB, free: 7.176 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007143/1.779, allocations: 7.352 MB / 1.559 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.779, allocations: 7.875 kB / 1.559 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/1.784, allocations: 2.001 MB / 1.561 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.785, allocations: 483.3 kB / 1.561 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/1.786, allocations: 24 kB / 1.561 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.787, allocations: 106.9 kB / 1.561 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/1.787, allocations: 113.2 kB / 1.561 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.788, allocations: 67.95 kB / 1.561 GB, free: 12.27 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001904/1.789, allocations: 1.277 MB / 1.563 GB, free: 11 MB / 1.248 GB Notification: Performance of sort global known variables: time 7.1e-08/1.789, allocations: 0 / 1.563 GB, free: 11 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002156/1.792, allocations: 0.6898 MB / 1.563 GB, free: 10.31 MB / 1.248 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.002542/1.794, allocations: 0.7503 MB / 1.564 GB, free: 9.734 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003931/1.798, allocations: 2.031 MB / 1.566 GB, free: 7.637 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.798, allocations: 0.5625 kB / 1.566 GB, free: 7.637 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.8, allocations: 1.371 MB / 1.567 GB, free: 6.203 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.803, allocations: 0.5403 MB / 1.568 GB, free: 5.684 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/1.811, allocations: 3.785 MB / 1.572 GB, free: 1.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.812, allocations: 1.533 MB / 1.573 GB, free: 304 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002052/1.814, allocations: 0.4931 MB / 1.574 GB, free: 15.79 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/1.815, allocations: 175.3 kB / 1.574 GB, free: 15.62 MB / 1.264 GB Notification: Performance of SimCode: time 1.693e-06/1.815, allocations: 0 / 1.574 GB, free: 15.62 MB / 1.264 GB Notification: Performance of Templates: time 0.06669/1.881, allocations: 32.85 MB / 1.606 GB, free: 15.09 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 12.150555761530995]