Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.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.001105/0.001105, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001199/0.001199, allocations: 165 kB / 23.82 MB, free: 0.75 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.9989/0.9989, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.791/1.791, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.28e-05, allocations: 2.938 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00417/0.004202, allocations: 2.31 MB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.1651, allocations: 147.9 MB / 0.9338 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.1653, allocations: 7.938 kB / 0.9338 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.1655, allocations: 51.41 kB / 0.9338 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1659, allocations: 107.1 kB / 0.9339 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.1666, allocations: 310.8 kB / 0.9342 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.167, allocations: 439.5 kB / 0.9346 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1671, allocations: 68.34 kB / 0.9347 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1682, allocations: 426.8 kB / 0.9351 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1684, allocations: 147.6 kB / 0.9353 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.1684, allocations: 32 kB / 0.9353 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1689, allocations: 267.5 kB / 0.9355 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.169, allocations: 79.72 kB / 0.9356 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.1691, allocations: 115.7 kB / 0.9357 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.1696, allocations: 446.4 kB / 0.9361 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1696, allocations: 3.938 kB / 0.9362 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1696, allocations: 0 / 0.9362 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1696, allocations: 0 / 0.9362 GB, free: 3.434 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009367/0.1706, allocations: 0.7335 MB / 0.9369 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1706, allocations: 8.031 kB / 0.9369 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.1719, allocations: 287.3 kB / 0.9372 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1722, allocations: 256.4 kB / 0.9374 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.1722, allocations: 20.66 kB / 0.9374 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.1723, allocations: 28 kB / 0.9374 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.1729, allocations: 350.5 kB / 0.9378 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1729, allocations: 4 kB / 0.9378 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.1729, allocations: 8 kB / 0.9378 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1729, allocations: 12 kB / 0.9378 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.1733, allocations: 263.7 kB / 0.9381 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1749, allocations: 0.9209 MB / 0.9389 GB, free: 468 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.1755, allocations: 270.3 kB / 0.9392 GB, free: 188 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1756, allocations: 103.6 kB / 0.9393 GB, free: 80 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.1757, allocations: 8 kB / 0.9393 GB, free: 72 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1757, allocations: 37.39 kB / 0.9393 GB, free: 24 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.1757, allocations: 4 kB / 0.9394 GB, free: 20 kB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.003948/0.1797, allocations: 0.8669 MB / 0.9402 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1797, allocations: 55.34 kB / 0.9403 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1798, allocations: 272.3 kB / 0.9405 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1799, allocations: 29.7 kB / 0.9405 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.18, allocations: 231.2 kB / 0.9408 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.18, allocations: 87.61 kB / 0.9408 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1802, allocations: 87.53 kB / 0.9409 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1803, allocations: 0.5001 MB / 0.9414 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1804, allocations: 80.48 kB / 0.9415 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1807, allocations: 265.7 kB / 0.9417 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.181, allocations: 202.9 kB / 0.9419 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.181, allocations: 4 kB / 0.9419 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001694/0.1827, allocations: 0.5172 MB / 0.9424 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1827, allocations: 4 kB / 0.9425 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1827, allocations: 4 kB / 0.9425 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.1839, allocations: 343 kB / 0.9428 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1842, allocations: 55.89 kB / 0.9428 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.188, allocations: 3.925 MB / 0.9467 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1882, allocations: 47.84 kB / 0.9467 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1882, allocations: 19.97 kB / 0.9467 GB, free: 8.047 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1884, allocations: 168.5 kB / 0.9469 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.1884, allocations: 31.86 kB / 0.9469 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.1902, allocations: 0.5717 MB / 0.9475 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1902, allocations: 4 kB / 0.9475 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1902, allocations: 0 / 0.9475 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1902, allocations: 7.922 kB / 0.9475 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.1905, allocations: 284.2 kB / 0.9478 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1905, allocations: 0 / 0.9478 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1907, allocations: 55.91 kB / 0.9478 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.1918, allocations: 327 kB / 0.9481 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.1918, allocations: 15.97 kB / 0.9481 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.1953, allocations: 3.913 MB / 0.952 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1953, allocations: 0 / 0.952 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.197, allocations: 0.6431 MB / 0.9526 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.197, allocations: 31.73 kB / 0.9526 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.197, allocations: 4 kB / 0.9526 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.1972, allocations: 27.92 kB / 0.9527 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.1973, allocations: 23.95 kB / 0.9527 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1973, allocations: 11.98 kB / 0.9527 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1974, allocations: 197.1 kB / 0.9529 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1974, allocations: 0 / 0.9529 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004325/0.1979, allocations: 131.8 kB / 0.953 GB, free: 1.285 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.1981, allocations: 119.1 kB / 0.9531 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.1988, allocations: 0.6188 MB / 0.9537 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1988, allocations: 0 / 0.9537 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.1993, allocations: 0.5071 MB / 0.9542 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1996, allocations: 96.27 kB / 0.9543 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2007, allocations: 0.541 MB / 0.9548 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.2008, allocations: 92.56 kB / 0.9549 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.201, allocations: 70.19 kB / 0.955 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2011, allocations: 28.48 kB / 0.955 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of SimCode: time 9.71e-07/0.2011, allocations: 0 / 0.955 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of Templates: time 0.01404/0.2151, allocations: 13.67 MB / 0.9684 GB, free: 1.508 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.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.521377200260758]