Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001652/0.001652, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001826/0.001826, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437 MB / 0.71 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002117, allocations: 71.86 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6399, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003627/0.6436, allocations: 2.359 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.8147, allocations: 149.7 MB / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.8149, allocations: 0 / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.8151, allocations: 39.66 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.8154, allocations: 83.33 kB / 1.165 GB, free: 10.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000647/0.8161, allocations: 275.2 kB / 1.166 GB, free: 9.742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.8165, allocations: 395.9 kB / 1.166 GB, free: 9.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.8168, allocations: 105.6 kB / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.819, allocations: 259.1 kB / 1.166 GB, free: 9.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.8192, allocations: 175.3 kB / 1.166 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.8193, allocations: 16 kB / 1.166 GB, free: 8.828 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.8198, allocations: 259.6 kB / 1.167 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.8199, allocations: 67.73 kB / 1.167 GB, free: 8.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.8201, allocations: 151.2 kB / 1.167 GB, free: 8.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.8207, allocations: 466.6 kB / 1.167 GB, free: 7.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8207, allocations: 0 / 1.167 GB, free: 7.902 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8207, allocations: 4 kB / 1.167 GB, free: 7.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.8207, allocations: 0 / 1.167 GB, free: 7.898 MB / 0.92 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.001584/0.8223, allocations: 0.7017 MB / 1.168 GB, free: 7.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.8224, allocations: 12.02 kB / 1.168 GB, free: 7.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/0.8255, allocations: 263.5 kB / 1.168 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.8259, allocations: 291.3 kB / 1.169 GB, free: 6.551 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.8259, allocations: 20.56 kB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.826, allocations: 24 kB / 1.169 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.8276, allocations: 436.5 kB / 1.169 GB, free: 6.074 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8276, allocations: 3.938 kB / 1.169 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.8277, allocations: 8 kB / 1.169 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.8277, allocations: 11.94 kB / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.8302, allocations: 0.5252 MB / 1.17 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.8335, allocations: 1.143 MB / 1.171 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.8359, allocations: 454.4 kB / 1.171 GB, free: 3.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.8371, allocations: 228.7 kB / 1.171 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.8371, allocations: 8 kB / 1.171 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.8372, allocations: 34.56 kB / 1.171 GB, free: 3.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.8372, allocations: 0 / 1.171 GB, free: 3.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01725/0.8544, allocations: 1.732 MB / 1.173 GB, free: 1.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.8545, allocations: 55.41 kB / 1.173 GB, free: 1.754 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.8549, allocations: 308.4 kB / 1.173 GB, free: 1.445 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.8549, allocations: 29.7 kB / 1.173 GB, free: 1.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.8551, allocations: 176.2 kB / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.8552, allocations: 90.73 kB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.8554, allocations: 81.8 kB / 1.174 GB, free: 1.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.8556, allocations: 346.7 kB / 1.174 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.8567, allocations: 204.4 kB / 1.174 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.8579, allocations: 262.9 kB / 1.175 GB, free: 240 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.8602, allocations: 434.8 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8602, allocations: 4 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00776/0.8679, allocations: 0.8888 MB / 1.176 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.868, allocations: 13.39 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.868, allocations: 0 / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.87, allocations: 277.4 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.8706, allocations: 67.88 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.8855, allocations: 3.789 MB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/0.8864, allocations: 83.53 kB / 1.18 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.8865, allocations: 15.97 kB / 1.18 GB, free: 10.38 MB / 0.9356 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.0002504/0.8867, allocations: 146.4 kB / 1.18 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.8869, allocations: 31.62 kB / 1.18 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/0.8949, allocations: 0.9353 MB / 1.181 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.8949, allocations: 4 kB / 1.181 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8949, allocations: 7.875 kB / 1.181 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.8949, allocations: 3.984 kB / 1.181 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.8956, allocations: 424.9 kB / 1.181 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8956, allocations: 0 / 1.181 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.8961, allocations: 55.95 kB / 1.182 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.898, allocations: 277.4 kB / 1.182 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.898, allocations: 15.97 kB / 1.182 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.9123, allocations: 3.774 MB / 1.185 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9123, allocations: 3.938 kB / 1.185 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007355/0.9197, allocations: 0.9586 MB / 1.186 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.9199, allocations: 108.7 kB / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.92, allocations: 11.98 kB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.9208, allocations: 47.89 kB / 1.187 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.9209, allocations: 19.92 kB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.921, allocations: 19.97 kB / 1.187 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002892/0.9213, allocations: 227 kB / 1.187 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9213, allocations: 0 / 1.187 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006636/0.9219, allocations: 119.8 kB / 1.187 GB, free: 2.832 MB / 0.9356 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.0002719/0.9222, allocations: 119.2 kB / 1.187 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002946/0.9252, allocations: 0.7201 MB / 1.188 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9252, allocations: 4 kB / 1.188 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.9268, allocations: 0.4894 MB / 1.188 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.9275, allocations: 101.3 kB / 1.188 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.9302, allocations: 0.7877 MB / 1.189 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.9307, allocations: 0.7684 MB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004882/0.9312, allocations: 82.86 kB / 1.19 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.9313, allocations: 35.42 kB / 1.19 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of SimCode: time 2.554e-06/0.9313, allocations: 0 / 1.19 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.0225/0.9538, allocations: 12.97 MB / 1.203 GB, free: 2.723 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches