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.00133/0.00133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.081/2.081, allocations: 390.2 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 71.88 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5821, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002782/0.585, allocations: 2.3 MB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1561/0.7411, allocations: 152 MB / 1.1 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.7413, allocations: 4 kB / 1.1 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.7416, allocations: 43.47 kB / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.7419, allocations: 107.2 kB / 1.1 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.7425, allocations: 310.9 kB / 1.101 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.7429, allocations: 427.8 kB / 1.101 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.7431, allocations: 101.7 kB / 1.101 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.7442, allocations: 283.4 kB / 1.101 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.7444, allocations: 179.2 kB / 1.102 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.7445, allocations: 36 kB / 1.102 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.745, allocations: 279.6 kB / 1.102 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.745, allocations: 75.75 kB / 1.102 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.7452, allocations: 163.2 kB / 1.102 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005286/0.7457, allocations: 486.6 kB / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7458, allocations: 0 / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7458, allocations: 0 / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7458, allocations: 0 / 1.103 GB, free: 4.555 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.001303/0.7471, allocations: 0.7133 MB / 1.103 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.7471, allocations: 8.031 kB / 1.103 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.7497, allocations: 263.4 kB / 1.104 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.75, allocations: 303.2 kB / 1.104 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.7501, allocations: 20.56 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.7501, allocations: 24 kB / 1.104 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.7514, allocations: 424.5 kB / 1.104 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7515, allocations: 7.984 kB / 1.104 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.7515, allocations: 12 kB / 1.104 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.7515, allocations: 7.938 kB / 1.104 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.7536, allocations: 0.5251 MB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.7563, allocations: 1.128 MB / 1.106 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.7584, allocations: 458.4 kB / 1.106 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/0.7594, allocations: 228.6 kB / 1.107 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.7594, allocations: 11.98 kB / 1.107 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.7594, allocations: 34.56 kB / 1.107 GB, free: 256 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.7594, allocations: 0 / 1.107 GB, free: 256 kB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01438/0.7738, allocations: 1.728 MB / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.7739, allocations: 51.41 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.7742, allocations: 304.5 kB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.7742, allocations: 33.7 kB / 1.109 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.7743, allocations: 168.2 kB / 1.109 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.7744, allocations: 86.75 kB / 1.109 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.7746, allocations: 81.81 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7747, allocations: 350.7 kB / 1.109 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009624/0.7756, allocations: 200.4 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.7766, allocations: 259 kB / 1.11 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.7786, allocations: 438.7 kB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7786, allocations: 0 / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006393/0.785, allocations: 0.8927 MB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.785, allocations: 5.406 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.785, allocations: 0 / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.7868, allocations: 285.4 kB / 1.111 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.7872, allocations: 63.94 kB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.8004, allocations: 4.09 MB / 1.115 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.8011, allocations: 79.52 kB / 1.116 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.8012, allocations: 19.97 kB / 1.116 GB, free: 6.746 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.0001772/0.8014, allocations: 145.8 kB / 1.116 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.8014, allocations: 27.62 kB / 1.116 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006511/0.808, allocations: 0.9541 MB / 1.117 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.808, allocations: 4 kB / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.808, allocations: 0 / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.808, allocations: 0 / 1.117 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.8085, allocations: 432.7 kB / 1.117 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8085, allocations: 0 / 1.117 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.8088, allocations: 59.89 kB / 1.117 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.8105, allocations: 281.4 kB / 1.117 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.8106, allocations: 15.97 kB / 1.117 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/0.8236, allocations: 4.072 MB / 1.121 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8237, allocations: 0 / 1.121 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.83, allocations: 0.961 MB / 1.122 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.8301, allocations: 108.7 kB / 1.122 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.8302, allocations: 4 kB / 1.122 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.8309, allocations: 43.95 kB / 1.122 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.831, allocations: 23.91 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.831, allocations: 23.91 kB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000213/0.8312, allocations: 227.1 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8312, allocations: 0 / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005339/0.8318, allocations: 115.8 kB / 1.123 GB, free: 14.88 MB / 0.8887 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.0001894/0.832, allocations: 122.2 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002541/0.8345, allocations: 0.7393 MB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8345, allocations: 0 / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.8359, allocations: 0.4972 MB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.8365, allocations: 113.1 kB / 1.124 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.8388, allocations: 0.6868 MB / 1.125 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.8391, allocations: 0.7645 MB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000408/0.8396, allocations: 82.86 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.8397, allocations: 31.42 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/0.8397, allocations: 4 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.01807/0.8578, allocations: 13.54 MB / 1.139 GB, free: 14.25 MB / 0.9044 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