Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001412/0.001412, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001454/0.001454, allocations: 161 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.9046/0.9046, allocations: 177.2 MB / 204.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.9 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.626e-05, allocations: 8.125 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002678/0.002704, allocations: 2.296 MB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1198/0.1225, allocations: 147.9 MB / 0.9582 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1227, allocations: 7.938 kB / 0.9582 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1229, allocations: 47.45 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1232, allocations: 115 kB / 0.9584 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.1238, allocations: 306.8 kB / 0.9587 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.1242, allocations: 439.5 kB / 0.9591 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1244, allocations: 68.34 kB / 0.9591 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.1255, allocations: 423.1 kB / 0.9596 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1256, allocations: 151.6 kB / 0.9597 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.1257, allocations: 28 kB / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1261, allocations: 271.5 kB / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.1261, allocations: 75.72 kB / 0.9601 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.1262, allocations: 115.7 kB / 0.9602 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.1267, allocations: 450.4 kB / 0.9606 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1267, allocations: 0 / 0.9606 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1268, allocations: 0 / 0.9606 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1268, allocations: 0 / 0.9606 GB, free: 8.645 MB / 0.9167 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.0008629/0.1276, allocations: 0.7296 MB / 0.9613 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1277, allocations: 8.031 kB / 0.9613 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.1288, allocations: 291.3 kB / 0.9616 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1291, allocations: 260.3 kB / 0.9618 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1292, allocations: 20.66 kB / 0.9619 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.1292, allocations: 28 kB / 0.9619 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.1298, allocations: 346.5 kB / 0.9622 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1298, allocations: 0 / 0.9622 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.1298, allocations: 12 kB / 0.9622 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1298, allocations: 8 kB / 0.9622 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.1302, allocations: 275.6 kB / 0.9625 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.1316, allocations: 0.909 MB / 0.9634 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.1321, allocations: 273.3 kB / 0.9636 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1323, allocations: 107.6 kB / 0.9637 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1323, allocations: 7.984 kB / 0.9638 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1323, allocations: 41.33 kB / 0.9638 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.113e-06/0.1323, allocations: 4 kB / 0.9638 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.003628/0.136, allocations: 0.8651 MB / 0.9646 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.136, allocations: 59.41 kB / 0.9647 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1361, allocations: 264.3 kB / 0.965 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1362, allocations: 25.7 kB / 0.965 GB, free: 3.973 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.1363, allocations: 231.3 kB / 0.9652 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.1363, allocations: 95.59 kB / 0.9653 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1364, allocations: 79.53 kB / 0.9654 GB, free: 3.559 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1365, allocations: 0.504 MB / 0.9659 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1367, allocations: 80.44 kB / 0.9659 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1369, allocations: 200 kB / 0.9661 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.1372, allocations: 208 kB / 0.9663 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1372, allocations: 0 / 0.9663 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001628/0.1388, allocations: 0.512 MB / 0.9668 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1388, allocations: 8 kB / 0.9668 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1389, allocations: 7.922 kB / 0.9668 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.14, allocations: 335 kB / 0.9672 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.1402, allocations: 63.89 kB / 0.9672 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.1437, allocations: 3.924 MB / 0.9711 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.1439, allocations: 47.84 kB / 0.9711 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1439, allocations: 15.97 kB / 0.9711 GB, free: 13.35 MB / 0.9323 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.000123/0.1441, allocations: 172.5 kB / 0.9713 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.1441, allocations: 31.86 kB / 0.9713 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.1458, allocations: 0.5835 MB / 0.9719 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1458, allocations: 0 / 0.9719 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1458, allocations: 4 kB / 0.9719 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1458, allocations: 7.922 kB / 0.9719 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1461, allocations: 284.1 kB / 0.9722 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1461, allocations: 3.938 kB / 0.9722 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1462, allocations: 47.97 kB / 0.9722 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.1473, allocations: 331 kB / 0.9725 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.1473, allocations: 11.97 kB / 0.9725 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.1505, allocations: 3.918 MB / 0.9764 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1505, allocations: 0 / 0.9764 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.1521, allocations: 0.6353 MB / 0.977 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.1521, allocations: 31.75 kB / 0.977 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.1522, allocations: 0 / 0.977 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1524, allocations: 27.92 kB / 0.977 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.1525, allocations: 27.89 kB / 0.9771 GB, free: 6.906 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1525, allocations: 19.97 kB / 0.9771 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.857e-05/0.1526, allocations: 193.1 kB / 0.9773 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1526, allocations: 0 / 0.9773 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004198/0.153, allocations: 123.8 kB / 0.9774 GB, free: 6.574 MB / 0.9323 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.0001778/0.1532, allocations: 115.2 kB / 0.9775 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007491/0.1539, allocations: 0.6181 MB / 0.9781 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1539, allocations: 0 / 0.9781 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.1543, allocations: 0.5076 MB / 0.9786 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1547, allocations: 96.22 kB / 0.9787 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1558, allocations: 0.5381 MB / 0.9792 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.484e-05/0.1558, allocations: 92.62 kB / 0.9793 GB, free: 4.477 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.156, allocations: 66.19 kB / 0.9794 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.1561, allocations: 32.48 kB / 0.9794 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of SimCode: time 9.42e-07/0.1561, allocations: 0 / 0.9794 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of Templates: time 0.01452/0.1706, allocations: 14.4 MB / 0.9935 GB, free: 6.074 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.3609370472840965]