Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001855/0.001855, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002331/0.002331, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.583/1.583, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.963/2.963, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.617e-05, allocations: 9.594 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7378/0.7379, allocations: 135.9 MB / 1.133 GB, free: 45.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.7509, allocations: 9.926 MB / 1.143 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/0.7518, allocations: 27.19 kB / 1.143 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.7526, allocations: 291.1 kB / 1.143 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.7556, allocations: 1.011 MB / 1.144 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.7582, allocations: 1.126 MB / 1.145 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.7604, allocations: 1.81 MB / 1.147 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.7617, allocations: 0.8945 MB / 1.148 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.7638, allocations: 1.057 MB / 1.149 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.7644, allocations: 0.5109 MB / 1.149 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.7646, allocations: 148.6 kB / 1.149 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.7666, allocations: 1.028 MB / 1.15 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.7669, allocations: 406.5 kB / 1.151 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.7673, allocations: 471.3 kB / 1.151 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.77, allocations: 2.459 MB / 1.153 GB, free: 44.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.77, allocations: 1.312 kB / 1.153 GB, free: 44.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7701, allocations: 0.875 kB / 1.153 GB, free: 44.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.708e-05/0.7701, allocations: 0 / 1.153 GB, free: 44.63 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002863/0.7729, allocations: 1.717 MB / 1.155 GB, free: 43.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.773, allocations: 8.688 kB / 1.155 GB, free: 43.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.7752, allocations: 320.2 kB / 1.155 GB, free: 43.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.7764, allocations: 0.8566 MB / 1.156 GB, free: 43.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.7764, allocations: 74.31 kB / 1.156 GB, free: 43.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.7766, allocations: 104.3 kB / 1.156 GB, free: 43.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.7783, allocations: 1.508 MB / 1.158 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.7784, allocations: 0 / 1.158 GB, free: 42.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.7785, allocations: 50.45 kB / 1.158 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.7785, allocations: 27.47 kB / 1.158 GB, free: 42.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.7804, allocations: 1.275 MB / 1.159 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/0.7846, allocations: 2.625 MB / 1.162 GB, free: 42.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.7863, allocations: 1.018 MB / 1.163 GB, free: 42.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.787, allocations: 407.5 kB / 1.163 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.7872, allocations: 54.12 kB / 1.163 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.7882, allocations: 0.8633 MB / 1.164 GB, free: 41.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 3.667e-06/0.7883, allocations: 7 kB / 1.164 GB, free: 41.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=103): time 0.00397/0.7922, allocations: 1.518 MB / 1.166 GB, free: 41.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.7923, allocations: 206.9 kB / 1.166 GB, free: 41.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.7931, allocations: 0.7737 MB / 1.167 GB, free: 41.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.7932, allocations: 55.95 kB / 1.167 GB, free: 41.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.7934, allocations: 474.2 kB / 1.167 GB, free: 40.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.7936, allocations: 347.8 kB / 1.167 GB, free: 40.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.7939, allocations: 203.9 kB / 1.168 GB, free: 40.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.7939, allocations: 341.1 kB / 1.168 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.7947, allocations: 380.5 kB / 1.168 GB, free: 40.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7957, allocations: 0.699 MB / 1.169 GB, free: 40.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.7975, allocations: 0.8292 MB / 1.17 GB, free: 39.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7975, allocations: 0 / 1.17 GB, free: 39.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002666/0.8002, allocations: 1.161 MB / 1.171 GB, free: 39.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.8002, allocations: 6.625 kB / 1.171 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8002, allocations: 0.875 kB / 1.171 GB, free: 39.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/0.801, allocations: 116.6 kB / 1.171 GB, free: 39.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009758/0.802, allocations: 215.5 kB / 1.171 GB, free: 39.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.8043, allocations: 2.798 MB / 1.174 GB, free: 37.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/0.8053, allocations: 118 kB / 1.174 GB, free: 37.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.8054, allocations: 41.02 kB / 1.174 GB, free: 37.4 MB / 1.076 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005194/0.8059, allocations: 319.4 kB / 1.174 GB, free: 37.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.8061, allocations: 107.1 kB / 1.175 GB, free: 37.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.8091, allocations: 1.344 MB / 1.176 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8091, allocations: 12.03 kB / 1.176 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8091, allocations: 0 / 1.176 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8091, allocations: 5.516 kB / 1.176 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.8133, allocations: 2.291 MB / 1.178 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8133, allocations: 0 / 1.178 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/0.8142, allocations: 197.7 kB / 1.178 GB, free: 36.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/0.8147, allocations: 109.8 kB / 1.178 GB, free: 36.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/0.8148, allocations: 29.44 kB / 1.178 GB, free: 36.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.8171, allocations: 2.834 MB / 1.181 GB, free: 34.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8171, allocations: 2.469 kB / 1.181 GB, free: 34.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.8198, allocations: 1.268 MB / 1.182 GB, free: 34.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.8203, allocations: 239.9 kB / 1.183 GB, free: 33.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.8205, allocations: 24.86 kB / 1.183 GB, free: 33.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008573/0.8213, allocations: 80.64 kB / 1.183 GB, free: 33.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.8215, allocations: 90.02 kB / 1.183 GB, free: 33.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.8216, allocations: 45.5 kB / 1.183 GB, free: 33.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007142/0.8223, allocations: 0.5456 MB / 1.183 GB, free: 33.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8223, allocations: 0 / 1.183 GB, free: 33.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00128/0.8236, allocations: 484.6 kB / 1.184 GB, free: 33.75 MB / 1.076 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 (111): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002346/0.826, allocations: 0.771 MB / 1.185 GB, free: 33.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.8283, allocations: 1.151 MB / 1.186 GB, free: 33.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8284, allocations: 4.75 kB / 1.186 GB, free: 33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.8296, allocations: 0.715 MB / 1.186 GB, free: 32.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.8311, allocations: 344.3 kB / 1.187 GB, free: 32.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.8346, allocations: 2.09 MB / 1.189 GB, free: 31.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.8352, allocations: 0.5186 MB / 1.189 GB, free: 31.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001003/0.8362, allocations: 310.3 kB / 1.19 GB, free: 31.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.8366, allocations: 123.9 kB / 1.19 GB, free: 31.3 MB / 1.076 GB Notification: Performance of SimCode: time 5e-07/0.8366, allocations: 0 / 1.19 GB, free: 31.3 MB / 1.076 GB Notification: Performance of Templates: time 0.03714/0.8737, allocations: 20.46 MB / 1.21 GB, free: 29.06 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.08502409607172]