Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009415/0.0009415, 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.001799/0.001799, 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.934/0.934, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.299/2.299, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.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_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.251e-05, allocations: 9.125 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002546/0.002568, allocations: 2.288 MB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1253/0.1278, allocations: 145.2 MB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.128, allocations: 7.938 kB / 1.034 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1282, allocations: 47.45 kB / 1.034 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1285, allocations: 107.1 kB / 1.034 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1289, allocations: 310.8 kB / 1.034 GB, free: 5.332 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.1295, allocations: 443.5 kB / 1.035 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1296, allocations: 68.34 kB / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008751/0.1305, allocations: 414.4 kB / 1.035 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1307, allocations: 147.6 kB / 1.035 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.1307, allocations: 28 kB / 1.035 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.131, allocations: 267.4 kB / 1.035 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1311, allocations: 79.72 kB / 1.036 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.1312, allocations: 123.7 kB / 1.036 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1316, allocations: 446.4 kB / 1.036 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1316, allocations: 0 / 1.036 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1316, allocations: 0 / 1.036 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1316, allocations: 0 / 1.036 GB, free: 3.43 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008281/0.1324, allocations: 0.7292 MB / 1.037 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1325, allocations: 8.625 kB / 1.037 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.1338, allocations: 323.2 kB / 1.037 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.134, allocations: 260.4 kB / 1.037 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.134, allocations: 16.66 kB / 1.037 GB, free: 2.039 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.1341, allocations: 28 kB / 1.037 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.1345, allocations: 322.5 kB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1345, allocations: 0 / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1346, allocations: 12 kB / 1.038 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1346, allocations: 8 kB / 1.038 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1349, allocations: 222.9 kB / 1.038 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1362, allocations: 0.8745 MB / 1.039 GB, free: 0.543 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.1366, allocations: 239.4 kB / 1.039 GB, free: 304 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1367, allocations: 102.1 kB / 1.039 GB, free: 200 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1367, allocations: 8 kB / 1.039 GB, free: 192 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1368, allocations: 45.38 kB / 1.039 GB, free: 136 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.1368, allocations: 3.938 kB / 1.039 GB, free: 132 kB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.003437/0.1402, allocations: 0.8084 MB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1402, allocations: 55.41 kB / 1.04 GB, free: 15.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1404, allocations: 268.2 kB / 1.04 GB, free: 14.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.1404, allocations: 33.7 kB / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.1405, allocations: 231.2 kB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.1406, allocations: 87.2 kB / 1.041 GB, free: 14.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1407, allocations: 83.55 kB / 1.041 GB, free: 14.51 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1408, allocations: 0.5079 MB / 1.041 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1409, allocations: 60.5 kB / 1.041 GB, free: 13.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.141, allocations: 183.9 kB / 1.041 GB, free: 13.72 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1413, allocations: 174.9 kB / 1.042 GB, free: 13.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1413, allocations: 0 / 1.042 GB, free: 13.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001516/0.1428, allocations: 0.4924 MB / 1.042 GB, free: 13.03 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1428, allocations: 8 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1428, allocations: 3.984 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.1439, allocations: 339 kB / 1.042 GB, free: 12.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1441, allocations: 55.95 kB / 1.042 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.1478, allocations: 3.879 MB / 1.046 GB, free: 8.516 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.148, allocations: 39.86 kB / 1.046 GB, free: 8.477 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.148, allocations: 23.95 kB / 1.046 GB, free: 8.453 MB / 1.01 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.0001204/0.1481, allocations: 168.5 kB / 1.046 GB, free: 8.277 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.1482, allocations: 31.8 kB / 1.046 GB, free: 8.246 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.1499, allocations: 0.5406 MB / 1.047 GB, free: 7.695 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1499, allocations: 4 kB / 1.047 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1499, allocations: 0 / 1.047 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1499, allocations: 0 / 1.047 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1516, allocations: 0.8338 MB / 1.048 GB, free: 6.809 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1516, allocations: 4.062 kB / 1.048 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1518, allocations: 51.89 kB / 1.048 GB, free: 6.754 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009953/0.1528, allocations: 327 kB / 1.048 GB, free: 6.426 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.1528, allocations: 19.91 kB / 1.048 GB, free: 6.406 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003241/0.1561, allocations: 3.871 MB / 1.052 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1561, allocations: 0 / 1.052 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.1576, allocations: 0.631 MB / 1.053 GB, free: 1.637 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.1576, allocations: 27.78 kB / 1.053 GB, free: 1.609 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1577, allocations: 11.94 kB / 1.053 GB, free: 1.598 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1579, allocations: 27.92 kB / 1.053 GB, free: 1.57 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1579, allocations: 19.97 kB / 1.053 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1579, allocations: 15.97 kB / 1.053 GB, free: 1.535 MB / 1.01 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.158, allocations: 185.1 kB / 1.053 GB, free: 1.355 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.158, allocations: 0 / 1.053 GB, free: 1.355 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000388/0.1584, allocations: 123.8 kB / 1.053 GB, free: 1.234 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001474/0.1585, allocations: 123.1 kB / 1.053 GB, free: 1.105 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.1591, allocations: 0.5793 MB / 1.054 GB, free: 500 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1591, allocations: 4.125 kB / 1.054 GB, free: 496 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3406/0.4997, allocations: 0.4896 MB / 1.054 GB, free: 68.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.5001, allocations: 90.58 kB / 1.054 GB, free: 68.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.5013, allocations: 0.5567 MB / 1.055 GB, free: 67.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.5013, allocations: 92.3 kB / 1.055 GB, free: 67.84 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.5016, allocations: 63.42 kB / 1.055 GB, free: 67.84 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.5018, allocations: 141.9 kB / 1.055 GB, free: 67.77 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/0.5018, allocations: 1.031 kB / 1.055 GB, free: 67.77 MB / 1.01 GB Notification: Performance of Templates: time 0.01292/0.5147, allocations: 14.43 MB / 1.069 GB, free: 66.76 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.932151877786964]