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.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.00162/0.00162, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001627/0.001627, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.219 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: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 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_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: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 75.86 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.96, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2194/1.179, allocations: 168.3 MB / 1.427 GB, free: 10.44 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02658/1.206, allocations: 17.08 MB / 1.444 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/1.208, allocations: 34.69 kB / 1.444 GB, free: 12.6 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/1.21, allocations: 0.5475 MB / 1.444 GB, free: 12.13 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005691/1.216, allocations: 1.612 MB / 1.446 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/1.22, allocations: 1.327 MB / 1.447 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004716/1.225, allocations: 2.695 MB / 1.45 GB, free: 8.258 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/1.228, allocations: 1.883 MB / 1.452 GB, free: 6.492 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/1.233, allocations: 1.333 MB / 1.453 GB, free: 5.207 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.235, allocations: 0.9763 MB / 1.454 GB, free: 4.227 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007514/1.236, allocations: 208 kB / 1.454 GB, free: 4.023 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/1.24, allocations: 1.427 MB / 1.455 GB, free: 2.594 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008883/1.241, allocations: 0.5569 MB / 1.456 GB, free: 2.035 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002286/1.243, allocations: 1.038 MB / 1.457 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006731/1.25, allocations: 3.121 MB / 1.46 GB, free: 13.86 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.25, allocations: 0 / 1.46 GB, free: 13.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.993e-06/1.25, allocations: 0 / 1.46 GB, free: 13.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001187/1.25, allocations: 0 / 1.46 GB, free: 13.86 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005203/1.255, allocations: 2.342 MB / 1.462 GB, free: 11.45 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.255, allocations: 11.97 kB / 1.462 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003718/1.259, allocations: 0.5294 MB / 1.463 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/1.261, allocations: 1.126 MB / 1.464 GB, free: 9.734 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/1.261, allocations: 127.4 kB / 1.464 GB, free: 9.609 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/1.261, allocations: 168 kB / 1.464 GB, free: 9.445 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/1.265, allocations: 1.847 MB / 1.466 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/1.265, allocations: 0 / 1.466 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.266, allocations: 80 kB / 1.466 GB, free: 7.469 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/1.266, allocations: 40 kB / 1.466 GB, free: 7.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/1.27, allocations: 1.867 MB / 1.468 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009964/1.28, allocations: 5.718 MB / 1.474 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/1.283, allocations: 1.769 MB / 1.475 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.284, allocations: 0.6515 MB / 1.476 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/1.285, allocations: 0.8038 MB / 1.477 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/1.287, allocations: 0.888 MB / 1.478 GB, free: 11.08 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/1.287, allocations: 3.938 kB / 1.478 GB, free: 11.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.00676/1.294, allocations: 2.561 MB / 1.48 GB, free: 8.406 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.294, allocations: 201.2 kB / 1.48 GB, free: 8.168 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.296, allocations: 0.8384 MB / 1.481 GB, free: 7.305 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002048/1.296, allocations: 53.7 kB / 1.481 GB, free: 7.246 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/1.297, allocations: 0.6577 MB / 1.482 GB, free: 6.578 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/1.297, allocations: 0.4996 MB / 1.482 GB, free: 6.074 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/1.298, allocations: 258.8 kB / 1.482 GB, free: 5.812 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.298, allocations: 353.9 kB / 1.483 GB, free: 5.461 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/1.299, allocations: 494.3 kB / 1.483 GB, free: 4.98 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.3, allocations: 0.6346 MB / 1.484 GB, free: 4.316 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/1.303, allocations: 1.122 MB / 1.485 GB, free: 3.188 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.303, allocations: 0 / 1.485 GB, free: 3.188 MB / 1.17 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003902/1.307, allocations: 1.554 MB / 1.487 GB, free: 1.609 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.307, allocations: 4 kB / 1.487 GB, free: 1.605 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.307, allocations: 0 / 1.487 GB, free: 1.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/1.308, allocations: 196.2 kB / 1.487 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.309, allocations: 335.6 kB / 1.487 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007258/1.317, allocations: 7.294 MB / 1.494 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.318, allocations: 164.5 kB / 1.494 GB, free: 8.914 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.318, allocations: 56.14 kB / 1.494 GB, free: 8.859 MB / 1.186 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.001005/1.319, allocations: 385.8 kB / 1.495 GB, free: 8.477 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.32, allocations: 135.2 kB / 1.495 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/1.324, allocations: 1.85 MB / 1.497 GB, free: 6.465 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.325, allocations: 12 kB / 1.497 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.325, allocations: 4 kB / 1.497 GB, free: 6.449 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/1.325, allocations: 11.97 kB / 1.497 GB, free: 6.438 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/1.332, allocations: 3.432 MB / 1.5 GB, free: 2.926 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.332, allocations: 3.938 kB / 1.5 GB, free: 2.922 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.333, allocations: 323.6 kB / 1.5 GB, free: 2.605 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/1.334, allocations: 172.2 kB / 1.501 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.334, allocations: 43.95 kB / 1.501 GB, free: 2.379 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/1.341, allocations: 7.315 MB / 1.508 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.341, allocations: 3.984 kB / 1.508 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/1.345, allocations: 1.714 MB / 1.509 GB, free: 8.594 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008351/1.346, allocations: 415.8 kB / 1.51 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/1.346, allocations: 28 kB / 1.51 GB, free: 8.141 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.348, allocations: 99.89 kB / 1.51 GB, free: 8.043 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.348, allocations: 117.1 kB / 1.51 GB, free: 7.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.348, allocations: 71.95 kB / 1.51 GB, free: 7.859 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009627/1.349, allocations: 0.5784 MB / 1.511 GB, free: 7.27 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.349, allocations: 0 / 1.511 GB, free: 7.27 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001836/1.351, allocations: 0.6001 MB / 1.511 GB, free: 6.668 MB / 1.201 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.002381/1.353, allocations: 0.7374 MB / 1.512 GB, free: 6.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003735/1.357, allocations: 1.875 MB / 1.514 GB, free: 4.184 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.357, allocations: 4.562 kB / 1.514 GB, free: 4.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.359, allocations: 1.301 MB / 1.515 GB, free: 2.816 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.362, allocations: 0.5281 MB / 1.516 GB, free: 2.312 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/1.368, allocations: 2.872 MB / 1.518 GB, free: 15.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.37, allocations: 1.302 MB / 1.52 GB, free: 14.07 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/1.371, allocations: 175.3 kB / 1.52 GB, free: 13.9 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/1.371, allocations: 0 / 1.52 GB, free: 13.9 MB / 1.217 GB Notification: Performance of Templates: time 0.07088/1.441, allocations: 57.76 MB / 1.576 GB, free: 4.141 MB / 1.264 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 -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_2/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] "" Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:east.pWin,north.pWin,south.pWin,time,weaDat.weaBus.winDir,west.pWin [Calling sys.exit(0), Time elapsed: 16.811327299801633]