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.0009975/0.0009975, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002246, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009035/0.0009035, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001987, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9071/0.9071, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09813/1.005, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4461/2.334, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.062e-06/1.062e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/1.978e-05, allocations: 6.609 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002432/0.002452, allocations: 2.338 MB / 0.7316 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.1361, allocations: 147.8 MB / 0.8759 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1363, allocations: 7.938 kB / 0.8759 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.1365, allocations: 59.33 kB / 0.8759 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.1369, allocations: 99.14 kB / 0.876 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1376, allocations: 298.8 kB / 0.8763 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.138, allocations: 443.5 kB / 0.8767 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1381, allocations: 78.91 kB / 0.8768 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1393, allocations: 428.4 kB / 0.8772 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1395, allocations: 151.5 kB / 0.8774 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.1395, allocations: 32 kB / 0.8774 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.14, allocations: 279.4 kB / 0.8777 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.1401, allocations: 55.81 kB / 0.8777 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1402, allocations: 87.81 kB / 0.8778 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.1408, allocations: 370.8 kB / 0.8782 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/0.1408, allocations: 0 / 0.8782 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1408, allocations: 3.938 kB / 0.8782 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.1408, allocations: 0 / 0.8782 GB, free: 11.86 MB / 0.8542 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.001045/0.1418, allocations: 0.6942 MB / 0.8788 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1419, allocations: 12.03 kB / 0.8788 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.1433, allocations: 340.5 kB / 0.8792 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1436, allocations: 217.6 kB / 0.8794 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1437, allocations: 20.66 kB / 0.8794 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.1437, allocations: 24 kB / 0.8794 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.1443, allocations: 322.5 kB / 0.8797 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1443, allocations: 3.984 kB / 0.8797 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1444, allocations: 12 kB / 0.8797 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1444, allocations: 7.938 kB / 0.8797 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.1447, allocations: 175 kB / 0.8799 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.1462, allocations: 0.673 MB / 0.8806 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.1467, allocations: 210.5 kB / 0.8808 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1468, allocations: 76.8 kB / 0.8808 GB, free: 9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.1469, allocations: 11.98 kB / 0.8809 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1469, allocations: 38.5 kB / 0.8809 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/0.1469, allocations: 0 / 0.8809 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0039/0.1508, allocations: 0.7275 MB / 0.8816 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1508, allocations: 55.41 kB / 0.8817 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.151, allocations: 212.9 kB / 0.8819 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.151, allocations: 33.7 kB / 0.8819 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.1511, allocations: 168.5 kB / 0.8821 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.1512, allocations: 87.22 kB / 0.8821 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1513, allocations: 65.91 kB / 0.8822 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.1514, allocations: 338.8 kB / 0.8825 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1515, allocations: 56.52 kB / 0.8826 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1516, allocations: 148.7 kB / 0.8827 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1519, allocations: 170.3 kB / 0.8829 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1519, allocations: 0 / 0.8829 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001672/0.1536, allocations: 406.8 kB / 0.8833 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1536, allocations: 4 kB / 0.8833 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1536, allocations: 4.031 kB / 0.8833 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.1548, allocations: 321.3 kB / 0.8836 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.1551, allocations: 67.88 kB / 0.8836 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.1587, allocations: 2.745 MB / 0.8863 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.159, allocations: 35.81 kB / 0.8864 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.159, allocations: 11.97 kB / 0.8864 GB, free: 3.039 MB / 0.8542 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.0001141/0.1591, allocations: 128.6 kB / 0.8865 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1592, allocations: 27.91 kB / 0.8865 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1609, allocations: 483.7 kB / 0.887 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1609, allocations: 4 kB / 0.887 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1609, allocations: 0 / 0.887 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1609, allocations: 11.97 kB / 0.887 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1612, allocations: 201.8 kB / 0.8872 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1612, allocations: 3.984 kB / 0.8872 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1614, allocations: 55.89 kB / 0.8872 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.1614, allocations: 27.75 kB / 0.8873 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.1626, allocations: 317.3 kB / 0.8876 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.1626, allocations: 11.97 kB / 0.8876 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.166, allocations: 2.724 MB / 0.8903 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.166, allocations: 0 / 0.8903 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1676, allocations: 496.9 kB / 0.8907 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1677, allocations: 0 / 0.8907 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1679, allocations: 27.98 kB / 0.8908 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.1679, allocations: 23.95 kB / 0.8908 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.168, allocations: 15.97 kB / 0.8908 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.168, allocations: 66.78 kB / 0.8909 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.168, allocations: 0 / 0.8909 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004399/0.1685, allocations: 127.8 kB / 0.891 GB, free: 14.09 MB / 0.8698 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.000163/0.1686, allocations: 104.3 kB / 0.8911 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.1693, allocations: 459.8 kB / 0.8915 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.1693, allocations: 4 kB / 0.8915 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.1697, allocations: 369.8 kB / 0.8919 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.17, allocations: 128.2 kB / 0.892 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1732, allocations: 0.5521 MB / 0.8925 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.906e-05/0.1732, allocations: 88.62 kB / 0.8926 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.1735, allocations: 58.22 kB / 0.8927 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.1737, allocations: 111.3 kB / 0.8928 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/0.1737, allocations: 0 / 0.8928 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of Templates: time 0.01669/0.1904, allocations: 14.6 MB / 0.907 GB, free: 13.68 MB / 0.8855 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger/Buildings_12_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.240507615730166]