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.001375/0.001375, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001669/0.001669, allocations: 181 kB / 24.09 MB, free: 412 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.9315/0.9315, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.333e-06/1.333e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.789e-05, allocations: 3.219 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002634/0.002652, allocations: 2.28 MB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.1379, allocations: 145.2 MB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1381, allocations: 7.938 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1383, allocations: 47.45 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1386, allocations: 111.1 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.1391, allocations: 310.8 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1394, allocations: 439.5 kB / 0.9568 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1396, allocations: 68.34 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1406, allocations: 414.7 kB / 0.9573 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1408, allocations: 147.6 kB / 0.9574 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1408, allocations: 28 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.1412, allocations: 271.4 kB / 0.9577 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.1412, allocations: 83.72 kB / 0.9578 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.1413, allocations: 119.7 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.1418, allocations: 446.4 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1418, allocations: 0 / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1418, allocations: 0 / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1418, allocations: 0 / 0.9583 GB, free: 11.18 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.0008204/0.1426, allocations: 0.7218 MB / 0.959 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1427, allocations: 8.031 kB / 0.959 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1438, allocations: 295.3 kB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1441, allocations: 268.2 kB / 0.9596 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1441, allocations: 24.66 kB / 0.9596 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1442, allocations: 24 kB / 0.9596 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.1446, allocations: 314.5 kB / 0.9599 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1446, allocations: 0 / 0.9599 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1446, allocations: 12 kB / 0.9599 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1446, allocations: 4 kB / 0.9599 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.1449, allocations: 215 kB / 0.9601 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1462, allocations: 0.8703 MB / 0.961 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1466, allocations: 247.4 kB / 0.9612 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1467, allocations: 91.56 kB / 0.9613 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1467, allocations: 4 kB / 0.9613 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1467, allocations: 41.33 kB / 0.9614 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.1467, allocations: 4 kB / 0.9614 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.003432/0.1502, allocations: 0.8179 MB / 0.9622 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1502, allocations: 59.41 kB / 0.9622 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1503, allocations: 256.2 kB / 0.9625 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1504, allocations: 29.7 kB / 0.9625 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1505, allocations: 235.2 kB / 0.9627 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1505, allocations: 91.2 kB / 0.9628 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1506, allocations: 83.52 kB / 0.9629 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1508, allocations: 0.5001 MB / 0.9634 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.1509, allocations: 64.48 kB / 0.9634 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.151, allocations: 182.9 kB / 0.9636 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1513, allocations: 180 kB / 0.9638 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1513, allocations: 0 / 0.9638 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001502/0.1528, allocations: 492.3 kB / 0.9642 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1528, allocations: 4 kB / 0.9643 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1528, allocations: 0 / 0.9643 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.1539, allocations: 339 kB / 0.9646 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1541, allocations: 59.89 kB / 0.9646 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.1575, allocations: 3.878 MB / 0.9684 GB, free: 348 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1577, allocations: 47.84 kB / 0.9685 GB, free: 300 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1577, allocations: 15.97 kB / 0.9685 GB, free: 284 kB / 0.9167 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.000111/0.1578, allocations: 176.5 kB / 0.9686 GB, free: 96 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1579, allocations: 35.8 kB / 0.9687 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.1594, allocations: 0.5444 MB / 0.9692 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1595, allocations: 4 kB / 0.9692 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1595, allocations: 0 / 0.9692 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1595, allocations: 3.984 kB / 0.9692 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1597, allocations: 240.7 kB / 0.9694 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1597, allocations: 4 kB / 0.9695 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1599, allocations: 55.89 kB / 0.9695 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.1611, allocations: 323 kB / 0.9698 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1611, allocations: 19.97 kB / 0.9698 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.1641, allocations: 3.864 MB / 0.9736 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1641, allocations: 0 / 0.9736 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.1656, allocations: 0.6041 MB / 0.9742 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.1656, allocations: 39.72 kB / 0.9742 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1657, allocations: 0 / 0.9742 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.1659, allocations: 23.98 kB / 0.9743 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1659, allocations: 23.97 kB / 0.9743 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1659, allocations: 15.97 kB / 0.9743 GB, free: 10 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.407e-05/0.166, allocations: 185.1 kB / 0.9745 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.166, allocations: 0 / 0.9745 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004164/0.1664, allocations: 123.8 kB / 0.9746 GB, free: 9.699 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.0001577/0.1666, allocations: 121.1 kB / 0.9747 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.1672, allocations: 0.583 MB / 0.9753 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1672, allocations: 0 / 0.9753 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.1676, allocations: 0.4996 MB / 0.9758 GB, free: 8.414 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1679, allocations: 108.1 kB / 0.9759 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.1689, allocations: 0.526 MB / 0.9764 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.353e-05/0.1689, allocations: 88.62 kB / 0.9765 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004688/0.1694, allocations: 62.2 kB / 0.9765 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.1696, allocations: 138.1 kB / 0.9767 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of SimCode: time 9.01e-07/0.1696, allocations: 4 kB / 0.9767 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of Templates: time 0.01406/0.1837, allocations: 14.52 MB / 0.9908 GB, free: 9.07 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.348508186172694]