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.001517/0.001517, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001645/0.001645, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9/0.9, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.025/2.025, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 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.803e-06/1.803e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.774e-05, allocations: 5.469 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1288/0.1288, allocations: 145.6 MB / 1.022 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1394, allocations: 8.778 MB / 1.03 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.14, allocations: 23.81 kB / 1.03 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.1408, allocations: 277.6 kB / 1.03 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1429, allocations: 1.026 MB / 1.031 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.1448, allocations: 1.118 MB / 1.032 GB, free: 8.68 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1463, allocations: 1.795 MB / 1.034 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.1476, allocations: 0.9241 MB / 1.035 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1492, allocations: 1.117 MB / 1.036 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.1497, allocations: 490.6 kB / 1.037 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1499, allocations: 136 kB / 1.037 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1514, allocations: 1.014 MB / 1.038 GB, free: 3.211 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.1517, allocations: 394.7 kB / 1.038 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.1521, allocations: 454.8 kB / 1.039 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.154, allocations: 1.783 MB / 1.04 GB, free: 0.5898 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.154, allocations: 7.938 kB / 1.04 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.253e-06/0.154, allocations: 0 / 1.04 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1541, allocations: 0 / 1.04 GB, free: 0.582 MB / 0.9948 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.002134/0.1562, allocations: 1.799 MB / 1.042 GB, free: 14.74 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1562, allocations: 16.03 kB / 1.042 GB, free: 14.72 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.1579, allocations: 442.1 kB / 1.043 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1589, allocations: 0.8117 MB / 1.043 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.159, allocations: 85.92 kB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1591, allocations: 104 kB / 1.044 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1602, allocations: 1.112 MB / 1.045 GB, free: 12.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1603, allocations: 7.984 kB / 1.045 GB, free: 12.01 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.1603, allocations: 40 kB / 1.045 GB, free: 11.97 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1604, allocations: 27.94 kB / 1.045 GB, free: 11.95 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1615, allocations: 0.7469 MB / 1.045 GB, free: 11.2 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.1647, allocations: 2.493 MB / 1.048 GB, free: 8.645 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.1655, allocations: 0.5309 MB / 1.048 GB, free: 8.105 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.166, allocations: 202.5 kB / 1.049 GB, free: 7.906 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.1662, allocations: 68.95 kB / 1.049 GB, free: 7.84 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.1668, allocations: 0.6359 MB / 1.049 GB, free: 7.121 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.756e-06/0.1668, allocations: 0 / 1.049 GB, free: 7.121 MB / 1.01 GB Notification: Performance of matching and sorting (n=103): time 0.00508/0.1719, allocations: 0.9362 MB / 1.05 GB, free: 6.176 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.1719, allocations: 204.9 kB / 1.05 GB, free: 5.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.1725, allocations: 0.6708 MB / 1.051 GB, free: 5.242 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.1726, allocations: 53.69 kB / 1.051 GB, free: 5.184 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1729, allocations: 0.5195 MB / 1.052 GB, free: 4.656 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.1731, allocations: 352.9 kB / 1.052 GB, free: 4.309 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/0.1764, allocations: 208.1 kB / 1.052 GB, free: 4.098 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1765, allocations: 0.5198 MB / 1.053 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1768, allocations: 125.9 kB / 1.053 GB, free: 3.449 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.1772, allocations: 452.5 kB / 1.053 GB, free: 2.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.1777, allocations: 395 kB / 1.054 GB, free: 2.531 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1777, allocations: 0 / 1.054 GB, free: 2.531 MB / 1.01 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001272/0.179, allocations: 0.7304 MB / 1.054 GB, free: 1.785 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.179, allocations: 9.859 kB / 1.054 GB, free: 1.777 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.179, allocations: 4 kB / 1.054 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/0.1797, allocations: 167.2 kB / 1.054 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.1803, allocations: 211.8 kB / 1.055 GB, free: 1.395 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3952/0.5755, allocations: 3.608 MB / 1.058 GB, free: 71.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.5762, allocations: 97.84 kB / 1.058 GB, free: 71.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.5762, allocations: 36.67 kB / 1.058 GB, free: 71.05 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.0003132/0.5765, allocations: 227.9 kB / 1.059 GB, free: 70.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5767, allocations: 136.6 kB / 1.059 GB, free: 70.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.5777, allocations: 0.9057 MB / 1.06 GB, free: 70.81 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.5777, allocations: 11 kB / 1.06 GB, free: 70.81 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5778, allocations: 0 / 1.06 GB, free: 70.81 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5778, allocations: 10.22 kB / 1.06 GB, free: 70.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.5795, allocations: 1.688 MB / 1.061 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5795, allocations: 3.391 kB / 1.061 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.5799, allocations: 183.2 kB / 1.061 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.5803, allocations: 149.2 kB / 1.062 GB, free: 70.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.5803, allocations: 33.2 kB / 1.062 GB, free: 70.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.5815, allocations: 3.631 MB / 1.065 GB, free: 67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5815, allocations: 6.656 kB / 1.065 GB, free: 67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.5824, allocations: 0.9279 MB / 1.066 GB, free: 66.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.5826, allocations: 230 kB / 1.066 GB, free: 66.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.5827, allocations: 25.47 kB / 1.066 GB, free: 66.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.583, allocations: 48.98 kB / 1.066 GB, free: 66.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.5831, allocations: 87.88 kB / 1.066 GB, free: 66.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.5831, allocations: 38.64 kB / 1.066 GB, free: 66.67 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002145/0.5833, allocations: 422.4 kB / 1.067 GB, free: 66.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5833, allocations: 0 / 1.067 GB, free: 66.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007821/0.5841, allocations: 476.3 kB / 1.067 GB, free: 66.5 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.001238/0.5854, allocations: 0.749 MB / 1.068 GB, free: 66.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000755/0.5861, allocations: 0.8558 MB / 1.069 GB, free: 65.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5861, allocations: 3.25 kB / 1.069 GB, free: 65.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.5865, allocations: 0.6546 MB / 1.069 GB, free: 65.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.5873, allocations: 376 kB / 1.07 GB, free: 65.59 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.5893, allocations: 1.836 MB / 1.072 GB, free: 64.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.5894, allocations: 241.6 kB / 1.072 GB, free: 64.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.5899, allocations: 226.4 kB / 1.072 GB, free: 64.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.5905, allocations: 449.1 kB / 1.073 GB, free: 64.57 MB / 1.01 GB Notification: Performance of SimCode: time 6.91e-07/0.5905, allocations: 0.6875 kB / 1.073 GB, free: 64.57 MB / 1.01 GB Notification: Performance of Templates: time 0.02719/0.6177, allocations: 22.71 MB / 1.095 GB, free: 62.5 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.607971224933863]