Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004989/0.004989, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 12.28 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8736, allocations: 142.4 MB / 0.955 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003045/0.8767, allocations: 1.988 MB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1986/1.075, allocations: 148.1 MB / 1.102 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003712/1.076, allocations: 4 kB / 1.102 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/1.076, allocations: 39.64 kB / 1.102 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005606/1.077, allocations: 75.39 kB / 1.102 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/1.078, allocations: 267.2 kB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/1.078, allocations: 403.8 kB / 1.102 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/1.079, allocations: 109.8 kB / 1.102 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/1.081, allocations: 234.4 kB / 1.103 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/1.081, allocations: 159.3 kB / 1.103 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/1.081, allocations: 15.98 kB / 1.103 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/1.082, allocations: 259.6 kB / 1.103 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/1.082, allocations: 59.73 kB / 1.103 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/1.082, allocations: 160.9 kB / 1.103 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007202/1.083, allocations: 466.4 kB / 1.104 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.083, allocations: 7.938 kB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.083, allocations: 0 / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.083, allocations: 0 / 1.104 GB, free: 6.621 MB / 0.8575 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.001555/1.084, allocations: 0.655 MB / 1.104 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.084, allocations: 12.03 kB / 1.104 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/1.087, allocations: 255.5 kB / 1.105 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.088, allocations: 303.1 kB / 1.105 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/1.088, allocations: 24.55 kB / 1.105 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/1.088, allocations: 24 kB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/1.09, allocations: 432.5 kB / 1.105 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.09, allocations: 0 / 1.105 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/1.09, allocations: 8 kB / 1.105 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.09, allocations: 15.94 kB / 1.105 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/1.092, allocations: 0.5369 MB / 1.106 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/1.095, allocations: 1.14 MB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/1.098, allocations: 462.4 kB / 1.108 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.099, allocations: 240.7 kB / 1.108 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/1.099, allocations: 4.375 kB / 1.108 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.099, allocations: 42.55 kB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 4.438e-06/1.099, allocations: 0 / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01654/1.116, allocations: 1.708 MB / 1.109 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.116, allocations: 59.41 kB / 1.11 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/1.116, allocations: 312.3 kB / 1.11 GB, free: 192 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/1.116, allocations: 29.7 kB / 1.11 GB, free: 156 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.117, allocations: 172.4 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.117, allocations: 82.75 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.117, allocations: 29.7 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.117, allocations: 346.7 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.118, allocations: 208.4 kB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.119, allocations: 263 kB / 1.111 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/1.121, allocations: 442.7 kB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.122, allocations: 0 / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007304/1.129, allocations: 0.8927 MB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/1.129, allocations: 4 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.129, allocations: 0 / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/1.131, allocations: 285.4 kB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/1.131, allocations: 67.88 kB / 1.113 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.146, allocations: 3.77 MB / 1.116 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/1.147, allocations: 79.58 kB / 1.116 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/1.147, allocations: 23.95 kB / 1.116 GB, free: 9.191 MB / 0.8731 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.0002756/1.147, allocations: 141.7 kB / 1.116 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/1.148, allocations: 35.62 kB / 1.116 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007311/1.155, allocations: 0.9474 MB / 1.117 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.155, allocations: 0 / 1.117 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.155, allocations: 7.938 kB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/1.155, allocations: 3.938 kB / 1.117 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/1.156, allocations: 420.6 kB / 1.118 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.156, allocations: 0 / 1.118 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/1.156, allocations: 59.94 kB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/1.158, allocations: 277.3 kB / 1.118 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/1.158, allocations: 15.97 kB / 1.118 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.172, allocations: 3.762 MB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.172, allocations: 4.031 kB / 1.122 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/1.179, allocations: 0.9698 MB / 1.123 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/1.179, allocations: 112.7 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/1.18, allocations: 4 kB / 1.123 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/1.18, allocations: 47.95 kB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.181, allocations: 23.91 kB / 1.123 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/1.181, allocations: 11.98 kB / 1.123 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002758/1.181, allocations: 231 kB / 1.123 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/1.181, allocations: 0 / 1.123 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006722/1.182, allocations: 111.9 kB / 1.123 GB, free: 1.656 MB / 0.8731 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.0002455/1.182, allocations: 123.2 kB / 1.123 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002956/1.185, allocations: 0.7234 MB / 1.124 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.185, allocations: 0 / 1.124 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.186, allocations: 0.5128 MB / 1.125 GB, free: 240 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/1.187, allocations: 101.3 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/1.19, allocations: 0.789 MB / 1.126 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/1.19, allocations: 0.7723 MB / 1.126 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000484/1.191, allocations: 74.89 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.191, allocations: 35.36 kB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/1.191, allocations: 0 / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of Templates: time 0.02289/1.214, allocations: 12.89 MB / 1.139 GB, free: 1.598 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches