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.001739/0.001739, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00202/0.00202, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.357/3.357, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.278e-05, allocations: 6.25 kB / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2534/0.2534, allocations: 164 MB / 1.038 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.2811, allocations: 17.48 MB / 1.055 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.283, allocations: 43.62 kB / 1.055 GB, free: 476 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.4582/0.7412, allocations: 0.5382 MB / 1.055 GB, free: 47.91 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.7463, allocations: 1.701 MB / 1.057 GB, free: 47.91 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.7495, allocations: 1.343 MB / 1.058 GB, free: 47.91 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.7529, allocations: 2.792 MB / 1.061 GB, free: 47.91 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.7551, allocations: 1.497 MB / 1.062 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005977/0.7611, allocations: 2.024 MB / 1.064 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.7628, allocations: 0.7962 MB / 1.065 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.7634, allocations: 213.1 kB / 1.065 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.7664, allocations: 1.314 MB / 1.067 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.7671, allocations: 0.5886 MB / 1.067 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.7685, allocations: 0.7276 MB / 1.068 GB, free: 47.33 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.7732, allocations: 3.36 MB / 1.071 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7732, allocations: 0 / 1.071 GB, free: 47.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7732, allocations: 0 / 1.071 GB, free: 47.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.559e-05/0.7732, allocations: 1.375 kB / 1.071 GB, free: 47.01 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003784/0.777, allocations: 2.535 MB / 1.074 GB, free: 45.84 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.777, allocations: 8.562 kB / 1.074 GB, free: 45.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004175/0.7812, allocations: 0.8183 MB / 1.075 GB, free: 45.61 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.7833, allocations: 1.098 MB / 1.076 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.7834, allocations: 134.4 kB / 1.076 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.7836, allocations: 183.3 kB / 1.076 GB, free: 45.29 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.7867, allocations: 2.568 MB / 1.078 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.7867, allocations: 3.031 kB / 1.078 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.7869, allocations: 74.12 kB / 1.078 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.7869, allocations: 45 kB / 1.079 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/0.7896, allocations: 1.629 MB / 1.08 GB, free: 44.11 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008212/0.7979, allocations: 5.141 MB / 1.085 GB, free: 42.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.8002, allocations: 1.272 MB / 1.086 GB, free: 42.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009001/0.8011, allocations: 0.5383 MB / 1.087 GB, free: 42.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.8022, allocations: 183.6 kB / 1.087 GB, free: 42.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.804, allocations: 1.491 MB / 1.089 GB, free: 41.74 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.617e-06/0.804, allocations: 0 / 1.089 GB, free: 41.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.00618/0.8101, allocations: 2.041 MB / 1.091 GB, free: 41.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.8102, allocations: 209.8 kB / 1.091 GB, free: 41.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.8115, allocations: 0.9449 MB / 1.092 GB, free: 41.12 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.8117, allocations: 63.3 kB / 1.092 GB, free: 41.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.8122, allocations: 0.7581 MB / 1.092 GB, free: 40.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/0.8126, allocations: 0.5531 MB / 1.093 GB, free: 40.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.8131, allocations: 324.9 kB / 1.093 GB, free: 40.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8132, allocations: 0.5707 MB / 1.094 GB, free: 39.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/0.8141, allocations: 426.7 kB / 1.094 GB, free: 39.85 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.8152, allocations: 0.8748 MB / 1.095 GB, free: 39.45 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.8173, allocations: 1.049 MB / 1.096 GB, free: 39.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8173, allocations: 0 / 1.096 GB, free: 39.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003845/0.8212, allocations: 1.526 MB / 1.098 GB, free: 39.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.8212, allocations: 8.641 kB / 1.098 GB, free: 39.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8212, allocations: 1.938 kB / 1.098 GB, free: 39.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.8227, allocations: 281 kB / 1.098 GB, free: 39.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.8243, allocations: 357.2 kB / 1.098 GB, free: 39.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.8294, allocations: 9.282 MB / 1.107 GB, free: 30.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8309, allocations: 134.8 kB / 1.107 GB, free: 30.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.831, allocations: 60.34 kB / 1.108 GB, free: 30.38 MB / 1.01 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 (169): * Single equations (assignments): 164 * 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.0008969/0.8319, allocations: 370.6 kB / 1.108 GB, free: 30.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/0.8324, allocations: 182.7 kB / 1.108 GB, free: 30.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.8365, allocations: 1.717 MB / 1.11 GB, free: 29.95 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.8365, allocations: 17.06 kB / 1.11 GB, free: 29.95 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8365, allocations: 1.312 kB / 1.11 GB, free: 29.95 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.8365, allocations: 10.25 kB / 1.11 GB, free: 29.95 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/0.8432, allocations: 3.362 MB / 1.113 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8432, allocations: 0 / 1.113 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.8447, allocations: 311.5 kB / 1.113 GB, free: 29.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.8459, allocations: 268 kB / 1.114 GB, free: 29.33 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.846, allocations: 45.48 kB / 1.114 GB, free: 29.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006486/0.8525, allocations: 9.314 MB / 1.123 GB, free: 36.63 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8525, allocations: 0.75 kB / 1.123 GB, free: 36.63 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.8566, allocations: 1.739 MB / 1.124 GB, free: 36.26 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.8575, allocations: 329 kB / 1.125 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.8577, allocations: 33.88 kB / 1.125 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8587, allocations: 81.58 kB / 1.125 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.8591, allocations: 119.2 kB / 1.125 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.8592, allocations: 75.28 kB / 1.125 GB, free: 36.16 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0008252/0.8601, allocations: 0.5835 MB / 1.126 GB, free: 36.02 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.8601, allocations: 0 / 1.126 GB, free: 36.02 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001831/0.8619, allocations: 0.6556 MB / 1.126 GB, free: 35.89 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 (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003736/0.8656, allocations: 0.7812 MB / 1.127 GB, free: 35.67 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003883/0.8695, allocations: 2.08 MB / 1.129 GB, free: 34.77 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.8695, allocations: 5.281 kB / 1.129 GB, free: 34.77 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.8717, allocations: 1.554 MB / 1.131 GB, free: 33.89 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.8744, allocations: 0.5601 MB / 1.131 GB, free: 33.82 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.8796, allocations: 2.772 MB / 1.134 GB, free: 32.68 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000946/0.8805, allocations: 0.7088 MB / 1.134 GB, free: 32.55 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001689/0.8822, allocations: 401.7 kB / 1.135 GB, free: 32.48 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.8827, allocations: 157.1 kB / 1.135 GB, free: 32.47 MB / 1.026 GB Notification: Performance of SimCode: time 1.262e-06/0.8827, allocations: 1.156 kB / 1.135 GB, free: 32.47 MB / 1.026 GB Notification: Performance of Templates: time 0.04657/0.9293, allocations: 28.03 MB / 1.162 GB, free: 29.4 MB / 1.026 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] 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/jenkins/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.592400532099418]