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.00184/0.00184, allocations: 92.72 kB / 19.44 MB, free: 472 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.002356/0.002356, allocations: 157.7 kB / 22.75 MB, free: 1.805 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.482/1.482, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.216/3.216, allocations: 429.6 MB / 0.673 GB, free: 3.863 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.523e-06/1.523e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.867e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2229/0.2229, allocations: 148.1 MB / 1.022 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0299/0.2528, allocations: 15.88 MB / 1.038 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.2547, allocations: 35.69 kB / 1.038 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.2568, allocations: 0.5503 MB / 1.038 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.2631, allocations: 1.694 MB / 1.04 GB, free: 15.58 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.2673, allocations: 1.36 MB / 1.041 GB, free: 14.22 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004727/0.272, allocations: 2.792 MB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.2751, allocations: 1.495 MB / 1.046 GB, free: 9.871 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006701/0.2818, allocations: 2.01 MB / 1.047 GB, free: 7.977 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.2837, allocations: 0.7984 MB / 1.048 GB, free: 7.176 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.2843, allocations: 216 kB / 1.048 GB, free: 6.965 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.2877, allocations: 1.313 MB / 1.05 GB, free: 5.648 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008967/0.2886, allocations: 0.588 MB / 1.05 GB, free: 5.059 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2902, allocations: 0.7287 MB / 1.051 GB, free: 4.328 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006238/0.2965, allocations: 3.353 MB / 1.054 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2965, allocations: 0 / 1.054 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2965, allocations: 0 / 1.054 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.646e-05/0.2966, allocations: 0 / 1.054 GB, free: 0.9648 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.4487/0.7453, allocations: 2.282 MB / 1.057 GB, free: 220.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.7453, allocations: 9.812 kB / 1.057 GB, free: 220.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.7499, allocations: 0.849 MB / 1.057 GB, free: 220.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.7518, allocations: 1.101 MB / 1.058 GB, free: 220.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.7519, allocations: 128.7 kB / 1.059 GB, free: 220.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.7522, allocations: 187.3 kB / 1.059 GB, free: 220.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.7558, allocations: 2.62 MB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.7558, allocations: 0 / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.756, allocations: 84.64 kB / 1.061 GB, free: 218.3 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.7561, allocations: 47 kB / 1.061 GB, free: 218.3 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.7594, allocations: 1.829 MB / 1.063 GB, free: 217.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007532/0.767, allocations: 3.975 MB / 1.067 GB, free: 215.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.7696, allocations: 1.419 MB / 1.068 GB, free: 215.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.7706, allocations: 0.6094 MB / 1.069 GB, free: 215.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.7717, allocations: 186.7 kB / 1.069 GB, free: 215.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.7733, allocations: 1.514 MB / 1.071 GB, free: 214 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.398e-06/0.7733, allocations: 4.609 kB / 1.071 GB, free: 214 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.005762/0.779, allocations: 2.269 MB / 1.073 GB, free: 213.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.7791, allocations: 212.1 kB / 1.073 GB, free: 213 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.78, allocations: 0.7549 MB / 1.074 GB, free: 212.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.7801, allocations: 64.8 kB / 1.074 GB, free: 212.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.7805, allocations: 0.665 MB / 1.075 GB, free: 212.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.7808, allocations: 0.5129 MB / 1.075 GB, free: 211.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.7811, allocations: 270.2 kB / 1.075 GB, free: 211.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.7812, allocations: 359.8 kB / 1.076 GB, free: 211.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.7822, allocations: 0.5135 MB / 1.076 GB, free: 211.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.7833, allocations: 0.9094 MB / 1.077 GB, free: 210.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.7853, allocations: 1.171 MB / 1.078 GB, free: 210 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7853, allocations: 0.875 kB / 1.078 GB, free: 210 MB / 1.01 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003543/0.7889, allocations: 1.69 MB / 1.08 GB, free: 209.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.7889, allocations: 5.25 kB / 1.08 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.7889, allocations: 2.625 kB / 1.08 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.7903, allocations: 266 kB / 1.08 GB, free: 209.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.7918, allocations: 340.9 kB / 1.08 GB, free: 209.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.7964, allocations: 6.665 MB / 1.087 GB, free: 202.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7979, allocations: 147.2 kB / 1.087 GB, free: 202.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.7982, allocations: 60.64 kB / 1.087 GB, free: 202.7 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.0009233/0.7991, allocations: 387.9 kB / 1.088 GB, free: 202.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/0.7997, allocations: 182.6 kB / 1.088 GB, free: 202.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.8038, allocations: 1.875 MB / 1.09 GB, free: 201.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.8038, allocations: 20.31 kB / 1.09 GB, free: 201.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.8038, allocations: 2.469 kB / 1.09 GB, free: 201.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.8039, allocations: 10.97 kB / 1.09 GB, free: 201.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.8112, allocations: 3.217 MB / 1.093 GB, free: 200.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.8112, allocations: 1.094 kB / 1.093 GB, free: 200.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.813, allocations: 313.4 kB / 1.093 GB, free: 200.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.8144, allocations: 251.7 kB / 1.093 GB, free: 200.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.8146, allocations: 41.5 kB / 1.093 GB, free: 200 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.8198, allocations: 6.693 MB / 1.1 GB, free: 193.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8198, allocations: 3.938 kB / 1.1 GB, free: 193.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/0.8243, allocations: 1.82 MB / 1.102 GB, free: 192.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008462/0.8252, allocations: 320.6 kB / 1.102 GB, free: 192.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.8255, allocations: 43.02 kB / 1.102 GB, free: 192.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.8268, allocations: 100.3 kB / 1.102 GB, free: 192.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.8271, allocations: 120 kB / 1.102 GB, free: 192.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.8273, allocations: 72.08 kB / 1.102 GB, free: 192.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007983/0.8281, allocations: 0.5217 MB / 1.103 GB, free: 192.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8281, allocations: 0 / 1.103 GB, free: 192.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00217/0.8303, allocations: 0.644 MB / 1.103 GB, free: 192.1 MB / 1.01 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.002853/0.8331, allocations: 0.7839 MB / 1.104 GB, free: 191.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.8367, allocations: 1.884 MB / 1.106 GB, free: 190.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.8367, allocations: 10.78 kB / 1.106 GB, free: 190.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.8386, allocations: 1.259 MB / 1.107 GB, free: 190.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.8412, allocations: 0.5532 MB / 1.108 GB, free: 189.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.8473, allocations: 2.893 MB / 1.111 GB, free: 188.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.8484, allocations: 0.7229 MB / 1.111 GB, free: 188.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001854/0.8502, allocations: 428.8 kB / 1.112 GB, free: 188.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.8508, allocations: 160 kB / 1.112 GB, free: 188.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.283e-06/0.8508, allocations: 0 / 1.112 GB, free: 188.1 MB / 1.01 GB Notification: Performance of Templates: time 0.04703/0.8978, allocations: 27.89 MB / 1.139 GB, free: 178.2 MB / 1.01 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/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.231942149926908]