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.0009381/0.0009381, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001996, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007294/0.0007294, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008827/0.001612, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9282/0.9282, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07609/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.351/2.351, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.227/2.578, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.773e-06/1.773e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.515e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003218/0.003233, allocations: 2.346 MB / 0.8205 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.1326, allocations: 147.7 MB / 0.9648 GB, free: 12.23 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1327, allocations: 7.938 kB / 0.9648 GB, free: 12.23 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1329, allocations: 51.41 kB / 0.9649 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1331, allocations: 111 kB / 0.965 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.1337, allocations: 290.8 kB / 0.9653 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.1341, allocations: 439.5 kB / 0.9657 GB, free: 11.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1342, allocations: 86.88 kB / 0.9658 GB, free: 11.27 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009686/0.1352, allocations: 438 kB / 0.9662 GB, free: 10.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1353, allocations: 151.6 kB / 0.9663 GB, free: 10.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1354, allocations: 28 kB / 0.9664 GB, free: 10.74 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.1358, allocations: 271.5 kB / 0.9666 GB, free: 10.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1359, allocations: 55.81 kB / 0.9667 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.1362, allocations: 87.81 kB / 0.9668 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.1367, allocations: 378.7 kB / 0.9671 GB, free: 9.965 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.1367, allocations: 4 kB / 0.9671 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1367, allocations: 0 / 0.9671 GB, free: 9.961 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.1367, allocations: 4 kB / 0.9671 GB, free: 9.957 MB / 0.948 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.000835/0.1375, allocations: 0.6863 MB / 0.9678 GB, free: 9.242 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.1376, allocations: 8.625 kB / 0.9678 GB, free: 9.234 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1387, allocations: 380.4 kB / 0.9682 GB, free: 8.844 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.139, allocations: 221.6 kB / 0.9684 GB, free: 8.602 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.139, allocations: 20.66 kB / 0.9684 GB, free: 8.582 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.139, allocations: 27.98 kB / 0.9684 GB, free: 8.555 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1395, allocations: 322.5 kB / 0.9687 GB, free: 8.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1395, allocations: 0 / 0.9687 GB, free: 8.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.1395, allocations: 16 kB / 0.9687 GB, free: 8.215 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1395, allocations: 11.94 kB / 0.9688 GB, free: 8.203 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1398, allocations: 175.1 kB / 0.9689 GB, free: 8.031 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1409, allocations: 0.6807 MB / 0.9696 GB, free: 7.332 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.1413, allocations: 205.2 kB / 0.9698 GB, free: 7.121 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1414, allocations: 76.8 kB / 0.9699 GB, free: 7.043 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1414, allocations: 8 kB / 0.9699 GB, free: 7.035 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1415, allocations: 34.56 kB / 0.9699 GB, free: 6.992 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.1415, allocations: 0 / 0.9699 GB, free: 6.992 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.003049/0.1445, allocations: 0.7384 MB / 0.9706 GB, free: 6.242 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1445, allocations: 59.34 kB / 0.9707 GB, free: 6.172 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1447, allocations: 212.9 kB / 0.9709 GB, free: 5.953 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1447, allocations: 29.7 kB / 0.9709 GB, free: 5.918 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.1448, allocations: 168.5 kB / 0.9711 GB, free: 5.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.1448, allocations: 91.2 kB / 0.9712 GB, free: 5.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.1449, allocations: 69.91 kB / 0.9712 GB, free: 5.582 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.145, allocations: 334.8 kB / 0.9715 GB, free: 5.246 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-05/0.1451, allocations: 52.52 kB / 0.9716 GB, free: 5.195 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1452, allocations: 153.3 kB / 0.9717 GB, free: 5.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1454, allocations: 165.1 kB / 0.9719 GB, free: 4.848 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1454, allocations: 0 / 0.9719 GB, free: 4.848 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001284/0.1467, allocations: 414.8 kB / 0.9723 GB, free: 4.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1467, allocations: 4 kB / 0.9723 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1467, allocations: 0 / 0.9723 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.1477, allocations: 321.4 kB / 0.9726 GB, free: 4.105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1479, allocations: 75.88 kB / 0.9727 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.1509, allocations: 2.726 MB / 0.9753 GB, free: 1.133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.1511, allocations: 47.8 kB / 0.9754 GB, free: 1.086 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1511, allocations: 15.97 kB / 0.9754 GB, free: 1.07 MB / 0.948 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.0001169/0.1513, allocations: 124.6 kB / 0.9755 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.1513, allocations: 31.91 kB / 0.9755 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1527, allocations: 483.7 kB / 0.976 GB, free: 432 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1527, allocations: 4 kB / 0.976 GB, free: 428 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1527, allocations: 0 / 0.976 GB, free: 428 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1527, allocations: 0 / 0.976 GB, free: 428 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1543, allocations: 0.664 MB / 0.9767 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1543, allocations: 4.062 kB / 0.9767 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1544, allocations: 59.88 kB / 0.9767 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.1545, allocations: 31.67 kB / 0.9767 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.1555, allocations: 317.4 kB / 0.9771 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1555, allocations: 19.97 kB / 0.9771 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.1579, allocations: 2.711 MB / 0.9797 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1579, allocations: 4.062 kB / 0.9797 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1592, allocations: 0.5024 MB / 0.9802 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.1592, allocations: 11.94 kB / 0.9802 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.1594, allocations: 23.98 kB / 0.9802 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1594, allocations: 23.95 kB / 0.9803 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1595, allocations: 15.97 kB / 0.9803 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.1595, allocations: 70.78 kB / 0.9804 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1595, allocations: 0 / 0.9804 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006223/0.1601, allocations: 123.8 kB / 0.9805 GB, free: 11.61 MB / 0.9636 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.0001496/0.1603, allocations: 96.3 kB / 0.9806 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.1608, allocations: 460.2 kB / 0.981 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.1608, allocations: 8.125 kB / 0.981 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1611, allocations: 373.2 kB / 0.9814 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1614, allocations: 127.6 kB / 0.9815 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.1638, allocations: 0.5856 MB / 0.9821 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.1638, allocations: 92.61 kB / 0.9821 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.1641, allocations: 66.22 kB / 0.9822 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.1642, allocations: 115.3 kB / 0.9823 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.1643, allocations: 0 / 0.9823 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of Templates: time 0.01367/0.1779, allocations: 14.49 MB / 0.9965 GB, free: 11.24 MB / 0.9792 GB " [Timeout remaining time 300] 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.ref.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.497587827965617]