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.0009671/0.0009671, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001041/0.001041, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9053/0.9053, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.309/2.309, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] 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_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.123e-06/1.123e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.241e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.12/0.12, allocations: 145.5 MB / 1.032 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1301, allocations: 8.781 MB / 1.04 GB, free: 14.84 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.1307, allocations: 31.69 kB / 1.04 GB, free: 14.8 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.1314, allocations: 273.6 kB / 1.041 GB, free: 14.54 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1333, allocations: 1.026 MB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.1352, allocations: 1.11 MB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1366, allocations: 1.803 MB / 1.045 GB, free: 10.58 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.1376, allocations: 0.9086 MB / 1.045 GB, free: 9.652 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.139, allocations: 1.122 MB / 1.047 GB, free: 8.562 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.1394, allocations: 492.1 kB / 1.047 GB, free: 8.082 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1396, allocations: 132 kB / 1.047 GB, free: 7.953 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1408, allocations: 1.006 MB / 1.048 GB, free: 6.945 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.141, allocations: 390.7 kB / 1.049 GB, free: 6.562 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1413, allocations: 462.8 kB / 1.049 GB, free: 6.109 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.1431, allocations: 1.791 MB / 1.051 GB, free: 4.312 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1431, allocations: 0 / 1.051 GB, free: 4.312 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1431, allocations: 0 / 1.051 GB, free: 4.312 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1431, allocations: 0 / 1.051 GB, free: 4.312 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001633/0.1447, allocations: 1.811 MB / 1.052 GB, free: 2.449 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1448, allocations: 8.031 kB / 1.052 GB, free: 2.441 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.1459, allocations: 450.1 kB / 1.053 GB, free: 2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.1466, allocations: 0.8155 MB / 1.054 GB, free: 1.156 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.1467, allocations: 78 kB / 1.054 GB, free: 1.082 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/0.1468, allocations: 108 kB / 1.054 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4341/0.5808, allocations: 1.105 MB / 1.055 GB, free: 64.26 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.5809, allocations: 3.844 kB / 1.055 GB, free: 64.26 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.5809, allocations: 43.47 kB / 1.055 GB, free: 64.26 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.581, allocations: 29.05 kB / 1.055 GB, free: 64.26 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008062/0.5818, allocations: 0.7421 MB / 1.056 GB, free: 64.25 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.5847, allocations: 2.489 MB / 1.058 GB, free: 63.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.5856, allocations: 0.5358 MB / 1.059 GB, free: 63.39 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5858, allocations: 195.4 kB / 1.059 GB, free: 63.37 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.5859, allocations: 85.62 kB / 1.059 GB, free: 63.37 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.5864, allocations: 0.6476 MB / 1.06 GB, free: 62.99 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.906e-06/0.5864, allocations: 2.25 kB / 1.06 GB, free: 62.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.001586/0.588, allocations: 0.9359 MB / 1.061 GB, free: 62.85 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.588, allocations: 202.4 kB / 1.061 GB, free: 62.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.5885, allocations: 0.6659 MB / 1.061 GB, free: 62.44 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.5886, allocations: 57.64 kB / 1.061 GB, free: 62.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.5888, allocations: 0.5117 MB / 1.062 GB, free: 62.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.589, allocations: 351.1 kB / 1.062 GB, free: 62.01 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.5892, allocations: 211.9 kB / 1.062 GB, free: 61.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.5893, allocations: 0.5242 MB / 1.063 GB, free: 61.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.5894, allocations: 128.3 kB / 1.063 GB, free: 61.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.5897, allocations: 451.4 kB / 1.064 GB, free: 61.19 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.5901, allocations: 396.6 kB / 1.064 GB, free: 61.12 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5901, allocations: 0.875 kB / 1.064 GB, free: 61.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000895/0.591, allocations: 0.7307 MB / 1.065 GB, free: 60.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.591, allocations: 3.547 kB / 1.065 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.591, allocations: 6.578 kB / 1.065 GB, free: 60.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.5915, allocations: 163.1 kB / 1.065 GB, free: 60.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.5919, allocations: 221.5 kB / 1.065 GB, free: 60.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.5933, allocations: 3.613 MB / 1.069 GB, free: 57.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.5937, allocations: 94.7 kB / 1.069 GB, free: 57.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.5938, allocations: 31.5 kB / 1.069 GB, free: 57.51 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002497/0.594, allocations: 229.1 kB / 1.069 GB, free: 57.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.5942, allocations: 140.2 kB / 1.069 GB, free: 57.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.5952, allocations: 0.9052 MB / 1.07 GB, free: 57.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5952, allocations: 10.81 kB / 1.07 GB, free: 57.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5952, allocations: 1.359 kB / 1.07 GB, free: 57.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5952, allocations: 6.234 kB / 1.07 GB, free: 57.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.5971, allocations: 1.69 MB / 1.072 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5971, allocations: 0 / 1.072 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.5974, allocations: 187.7 kB / 1.072 GB, free: 56.78 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/0.5978, allocations: 146.8 kB / 1.072 GB, free: 56.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.5979, allocations: 28.7 kB / 1.072 GB, free: 56.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.5991, allocations: 3.639 MB / 1.075 GB, free: 53.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5991, allocations: 0 / 1.075 GB, free: 53.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.6, allocations: 0.9382 MB / 1.076 GB, free: 53.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.6003, allocations: 227.8 kB / 1.077 GB, free: 52.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.6004, allocations: 29.41 kB / 1.077 GB, free: 52.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.6007, allocations: 50.05 kB / 1.077 GB, free: 52.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6008, allocations: 92.59 kB / 1.077 GB, free: 52.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.6008, allocations: 33.11 kB / 1.077 GB, free: 52.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002478/0.6011, allocations: 418 kB / 1.077 GB, free: 52.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6011, allocations: 0 / 1.077 GB, free: 52.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000945/0.602, allocations: 475.7 kB / 1.078 GB, free: 52.8 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 (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.001304/0.6033, allocations: 0.7514 MB / 1.078 GB, free: 52.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008726/0.6042, allocations: 0.8552 MB / 1.079 GB, free: 52.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6042, allocations: 2.812 kB / 1.079 GB, free: 52.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.6046, allocations: 0.6597 MB / 1.08 GB, free: 51.91 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.6055, allocations: 381 kB / 1.08 GB, free: 51.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.608, allocations: 1.834 MB / 1.082 GB, free: 51.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.6081, allocations: 236.2 kB / 1.082 GB, free: 50.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005722/0.6087, allocations: 222 kB / 1.082 GB, free: 50.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.6093, allocations: 452.5 kB / 1.083 GB, free: 50.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.143e-06/0.6093, allocations: 0 / 1.083 GB, free: 50.86 MB / 1.01 GB Notification: Performance of Templates: time 0.03179/0.6411, allocations: 22.42 MB / 1.105 GB, free: 48.79 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.516473589930683]