Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009328/0.0009328, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00105/0.00105, allocations: 161 kB / 24.17 MB, free: 332 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.9361/0.9361, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.5e-05, allocations: 10.39 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1516/0.1517, allocations: 147.7 MB / 0.9043 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.1617, allocations: 8.953 MB / 0.913 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/0.1625, allocations: 31.81 kB / 0.9131 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.1632, allocations: 277.5 kB / 0.9133 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.1654, allocations: 0.9788 MB / 0.9143 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.1675, allocations: 1.09 MB / 0.9154 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.1696, allocations: 1.81 MB / 0.9171 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.1713, allocations: 1.065 MB / 0.9182 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.1726, allocations: 1.046 MB / 0.9192 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.1732, allocations: 494.5 kB / 0.9197 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.1735, allocations: 128 kB / 0.9198 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.1754, allocations: 1.072 MB / 0.9208 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1756, allocations: 386.7 kB / 0.9212 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.1759, allocations: 462.8 kB / 0.9216 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.1781, allocations: 1.791 MB / 0.9234 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1781, allocations: 4 kB / 0.9234 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1781, allocations: 0 / 0.9234 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.1781, allocations: 0 / 0.9234 GB, free: 14.93 MB / 0.8855 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.001711/0.1798, allocations: 1.659 MB / 0.925 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1799, allocations: 8.031 kB / 0.925 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.1811, allocations: 406.8 kB / 0.9254 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/0.182, allocations: 0.6751 MB / 0.9261 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.182, allocations: 81.98 kB / 0.9262 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.1821, allocations: 108 kB / 0.9263 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.183, allocations: 1.102 MB / 0.9273 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1831, allocations: 3.938 kB / 0.9273 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/0.1832, allocations: 40 kB / 0.9274 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1832, allocations: 27.94 kB / 0.9274 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.1839, allocations: 0.6443 MB / 0.928 GB, free: 10 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.1863, allocations: 1.88 MB / 0.9299 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.1871, allocations: 0.5291 MB / 0.9304 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1873, allocations: 168.8 kB / 0.9305 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1874, allocations: 60.95 kB / 0.9306 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.1879, allocations: 0.6353 MB / 0.9312 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 3.236e-06/0.1879, allocations: 0 / 0.9312 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.001394/0.1893, allocations: 0.7134 MB / 0.9319 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.1894, allocations: 196.9 kB / 0.9321 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.1898, allocations: 0.6108 MB / 0.9327 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.1899, allocations: 57.64 kB / 0.9328 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1901, allocations: 371.3 kB / 0.9331 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.1905, allocations: 345 kB / 0.9334 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.1907, allocations: 194.5 kB / 0.9336 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.1908, allocations: 345.9 kB / 0.934 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.191, allocations: 112.8 kB / 0.9341 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1912, allocations: 404.7 kB / 0.9344 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.1916, allocations: 381.2 kB / 0.9348 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1916, allocations: 0 / 0.9348 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0007771/0.1924, allocations: 0.5427 MB / 0.9353 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1924, allocations: 4 kB / 0.9353 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1924, allocations: 0 / 0.9353 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.1929, allocations: 157.6 kB / 0.9355 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1935, allocations: 235.7 kB / 0.9357 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.1951, allocations: 2.504 MB / 0.9382 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.1955, allocations: 95.45 kB / 0.9383 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.1956, allocations: 31.97 kB / 0.9383 GB, free: 15 MB / 0.9011 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.000292/0.1959, allocations: 179.1 kB / 0.9385 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.196, allocations: 95.91 kB / 0.9385 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.1969, allocations: 0.7182 MB / 0.9392 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1969, allocations: 12 kB / 0.9393 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.197, allocations: 0 / 0.9393 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.197, allocations: 7.969 kB / 0.9393 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.1989, allocations: 1.386 MB / 0.9406 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1989, allocations: 4 kB / 0.9406 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.1994, allocations: 206.6 kB / 0.9408 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.1998, allocations: 137.6 kB / 0.941 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.1998, allocations: 27.97 kB / 0.941 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.2012, allocations: 2.516 MB / 0.9434 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2012, allocations: 0 / 0.9434 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.202, allocations: 0.7102 MB / 0.9441 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.2023, allocations: 171 kB / 0.9443 GB, free: 8.555 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.2024, allocations: 24 kB / 0.9443 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.2027, allocations: 51.95 kB / 0.9444 GB, free: 8.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2028, allocations: 84.84 kB / 0.9444 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.2028, allocations: 27.97 kB / 0.9445 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002406/0.2031, allocations: 304.4 kB / 0.9448 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.2031, allocations: 0 / 0.9448 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008976/0.204, allocations: 478.8 kB / 0.9452 GB, free: 7.609 MB / 0.9011 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 (112): * Single equations (assignments): 100 * 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.001662/0.2056, allocations: 0.8764 MB / 0.9461 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008719/0.2065, allocations: 0.6875 MB / 0.9467 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.2065, allocations: 8 kB / 0.9468 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.207, allocations: 0.5249 MB / 0.9473 GB, free: 5.727 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.208, allocations: 391.7 kB / 0.9476 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.2105, allocations: 1.837 MB / 0.9494 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2106, allocations: 227.9 kB / 0.9497 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005555/0.2112, allocations: 227.8 kB / 0.9499 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/0.2119, allocations: 372.9 kB / 0.9502 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/0.2119, allocations: 0 / 0.9502 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of Templates: time 0.02726/0.2391, allocations: 22.47 MB / 0.9722 GB, free: 12.57 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.817196850199252]