Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001373/0.001373, allocations: 79.19 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001524/0.001524, allocations: 160.9 kB / 23.01 MB, free: 4.598 MB / 14.72 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 1.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] 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 2.939/2.939, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003393/0.003393, allocations: 75.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8952, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1993/1.094, allocations: 148.2 MB / 1.331 GB, free: 1.637 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02398/1.118, allocations: 15.95 MB / 1.347 GB, free: 1.645 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/1.12, allocations: 39.62 kB / 1.347 GB, free: 1.605 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/1.122, allocations: 0.5389 MB / 1.347 GB, free: 1.062 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004772/1.126, allocations: 1.677 MB / 1.349 GB, free: 15.38 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/1.13, allocations: 1.345 MB / 1.35 GB, free: 14.05 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003963/1.134, allocations: 2.723 MB / 1.353 GB, free: 11.31 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/1.136, allocations: 1.508 MB / 1.355 GB, free: 9.746 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/1.141, allocations: 1.441 MB / 1.356 GB, free: 8.355 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/1.143, allocations: 0.9059 MB / 1.357 GB, free: 7.445 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004144/1.143, allocations: 208 kB / 1.357 GB, free: 7.242 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/1.146, allocations: 1.295 MB / 1.358 GB, free: 5.945 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006414/1.147, allocations: 0.5607 MB / 1.359 GB, free: 5.383 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/1.148, allocations: 0.8594 MB / 1.36 GB, free: 4.52 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00521/1.153, allocations: 3.16 MB / 1.363 GB, free: 1.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.153, allocations: 0 / 1.363 GB, free: 1.348 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.334e-06/1.153, allocations: 0 / 1.363 GB, free: 1.348 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.493e-05/1.154, allocations: 0 / 1.363 GB, free: 1.348 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004524/1.158, allocations: 2.302 MB / 1.365 GB, free: 15 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.158, allocations: 8.031 kB / 1.365 GB, free: 14.99 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/1.163, allocations: 0.5762 MB / 1.366 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/1.165, allocations: 1.065 MB / 1.367 GB, free: 13.32 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.165, allocations: 131.4 kB / 1.367 GB, free: 13.19 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/1.165, allocations: 168 kB / 1.367 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/1.17, allocations: 2.6 MB / 1.369 GB, free: 10.19 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/1.17, allocations: 0 / 1.369 GB, free: 10.19 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/1.17, allocations: 76 kB / 1.37 GB, free: 10.11 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/1.17, allocations: 40 kB / 1.37 GB, free: 10.07 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/1.173, allocations: 1.828 MB / 1.371 GB, free: 8.242 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007889/1.181, allocations: 3.723 MB / 1.375 GB, free: 4.449 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/1.184, allocations: 1.359 MB / 1.376 GB, free: 3.094 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.185, allocations: 0.5937 MB / 1.377 GB, free: 2.496 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.186, allocations: 181.1 kB / 1.377 GB, free: 2.32 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/1.189, allocations: 1.498 MB / 1.379 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 4.398e-06/1.189, allocations: 0 / 1.379 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006478/1.195, allocations: 2.18 MB / 1.381 GB, free: 14.45 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.195, allocations: 205.2 kB / 1.381 GB, free: 14.21 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.196, allocations: 0.7552 MB / 1.382 GB, free: 13.44 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/1.197, allocations: 61.7 kB / 1.382 GB, free: 13.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006828/1.197, allocations: 0.6694 MB / 1.382 GB, free: 12.7 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005411/1.198, allocations: 0.5035 MB / 1.383 GB, free: 12.19 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/1.198, allocations: 246.8 kB / 1.383 GB, free: 11.94 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.199, allocations: 357.9 kB / 1.383 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.2, allocations: 498.3 kB / 1.384 GB, free: 11.1 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.201, allocations: 0.8683 MB / 1.385 GB, free: 10.15 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/1.204, allocations: 1.118 MB / 1.386 GB, free: 9.02 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.204, allocations: 0 / 1.386 GB, free: 9.02 MB / 1.232 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003911/1.208, allocations: 1.547 MB / 1.387 GB, free: 7.449 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.208, allocations: 8 kB / 1.387 GB, free: 7.441 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.208, allocations: 0 / 1.387 GB, free: 7.441 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/1.209, allocations: 192.2 kB / 1.388 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.21, allocations: 339.6 kB / 1.388 GB, free: 6.906 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/1.217, allocations: 6.642 MB / 1.394 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.219, allocations: 145.5 kB / 1.394 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/1.219, allocations: 52.06 kB / 1.395 GB, free: 15.55 MB / 1.248 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 (156): * Single equations (assignments): 151 * 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.001056/1.22, allocations: 383.4 kB / 1.395 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/1.22, allocations: 131.2 kB / 1.395 GB, free: 15.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/1.225, allocations: 1.842 MB / 1.397 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/1.225, allocations: 16 kB / 1.397 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.225, allocations: 7.875 kB / 1.397 GB, free: 13.15 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/1.225, allocations: 7.969 kB / 1.397 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/1.233, allocations: 2.996 MB / 1.4 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.233, allocations: 0 / 1.4 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.234, allocations: 315.6 kB / 1.4 GB, free: 9.781 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/1.235, allocations: 188.1 kB / 1.4 GB, free: 9.582 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.235, allocations: 39.97 kB / 1.4 GB, free: 9.543 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006782/1.242, allocations: 6.669 MB / 1.407 GB, free: 2.355 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.242, allocations: 8 kB / 1.407 GB, free: 2.348 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/1.247, allocations: 1.709 MB / 1.408 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009821/1.248, allocations: 314.6 kB / 1.409 GB, free: 300 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/1.248, allocations: 28 kB / 1.409 GB, free: 272 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.25, allocations: 101.8 kB / 1.409 GB, free: 172 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.25, allocations: 133 kB / 1.409 GB, free: 36 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.25, allocations: 63.95 kB / 1.409 GB, free: 15.97 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009673/1.251, allocations: 0.5263 MB / 1.41 GB, free: 15.45 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.251, allocations: 0 / 1.41 GB, free: 15.45 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002169/1.253, allocations: 0.6272 MB / 1.41 GB, free: 14.82 MB / 1.264 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.002781/1.256, allocations: 0.7471 MB / 1.411 GB, free: 14.28 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004039/1.26, allocations: 1.817 MB / 1.413 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.26, allocations: 0.6562 kB / 1.413 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.263, allocations: 1.254 MB / 1.414 GB, free: 11.08 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.265, allocations: 0.5025 MB / 1.414 GB, free: 10.6 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/1.271, allocations: 2.833 MB / 1.417 GB, free: 7.734 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.273, allocations: 0.7218 MB / 1.418 GB, free: 6.98 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001895/1.274, allocations: 433.6 kB / 1.418 GB, free: 6.555 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/1.275, allocations: 148.4 kB / 1.418 GB, free: 6.41 MB / 1.264 GB Notification: Performance of SimCode: time 1.222e-06/1.275, allocations: 0 / 1.418 GB, free: 6.41 MB / 1.264 GB Notification: Performance of Templates: time 0.0533/1.328, allocations: 27.41 MB / 1.445 GB, free: 11.45 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 10.465546599007212]