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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001103/0.001103, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001452/0.001453, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.9 MB / 0.666 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003345, allocations: 12.22 kB / 0.8153 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7165, allocations: 142.4 MB / 0.9544 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002311/0.7188, allocations: 1.907 MB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.8789, allocations: 138.1 MB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.8792, allocations: 3.938 kB / 1.091 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.8794, allocations: 31.66 kB / 1.091 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.8797, allocations: 83.38 kB / 1.091 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.8804, allocations: 243.2 kB / 1.092 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.8808, allocations: 371.8 kB / 1.092 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.881, allocations: 78.11 kB / 1.092 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.8814, allocations: 211.5 kB / 1.092 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.8816, allocations: 147.4 kB / 1.092 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.8817, allocations: 12 kB / 1.092 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.8821, allocations: 255.6 kB / 1.093 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.8822, allocations: 59.73 kB / 1.093 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.8823, allocations: 73.58 kB / 1.093 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.8827, allocations: 337.2 kB / 1.093 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8827, allocations: 0 / 1.093 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.846e-06/0.8827, allocations: 0 / 1.093 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8827, allocations: 3.938 kB / 1.093 GB, free: 1.23 MB / 0.8419 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.001283/0.884, allocations: 0.6626 MB / 1.094 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.884, allocations: 12.03 kB / 1.094 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.8865, allocations: 255.3 kB / 1.094 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.8869, allocations: 299.3 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.887, allocations: 20.56 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.887, allocations: 27.95 kB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.8883, allocations: 436.5 kB / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8883, allocations: 0 / 1.095 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.8884, allocations: 12 kB / 1.095 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8884, allocations: 4 kB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.8904, allocations: 0.533 MB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.8932, allocations: 1.136 MB / 1.096 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.8952, allocations: 462.3 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009103/0.8961, allocations: 236.7 kB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.8961, allocations: 4 kB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8962, allocations: 38.5 kB / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.8962, allocations: 0 / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01353/0.9097, allocations: 1.716 MB / 1.099 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.9098, allocations: 51.41 kB / 1.099 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.9102, allocations: 308.5 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.9102, allocations: 29.7 kB / 1.099 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.9104, allocations: 168.2 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9105, allocations: 90.73 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.9105, allocations: 4 kB / 1.099 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9107, allocations: 338.8 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.9117, allocations: 208.4 kB / 1.1 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/0.9127, allocations: 263 kB / 1.1 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.9136, allocations: 216.3 kB / 1.1 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9137, allocations: 4 kB / 1.1 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006041/0.9197, allocations: 0.8888 MB / 1.101 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.9198, allocations: 9.25 kB / 1.101 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9198, allocations: 0 / 1.101 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.9214, allocations: 285.4 kB / 1.101 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.9219, allocations: 67.94 kB / 1.102 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.9341, allocations: 3.766 MB / 1.105 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.935, allocations: 75.55 kB / 1.105 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.9351, allocations: 23.97 kB / 1.105 GB, free: 4.098 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.9354, allocations: 145.7 kB / 1.105 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.9355, allocations: 27.62 kB / 1.105 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/0.9417, allocations: 0.9417 MB / 1.106 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.9417, allocations: 4 kB / 1.106 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9417, allocations: 7.953 kB / 1.106 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9417, allocations: 3.984 kB / 1.106 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.9423, allocations: 428.8 kB / 1.107 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9423, allocations: 0 / 1.107 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.9427, allocations: 55.95 kB / 1.107 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.9443, allocations: 285.3 kB / 1.107 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.9443, allocations: 19.92 kB / 1.107 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9562, allocations: 3.754 MB / 1.111 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9562, allocations: 0 / 1.111 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/0.9622, allocations: 0.9572 MB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9624, allocations: 112.6 kB / 1.112 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.785e-05/0.9625, allocations: 12 kB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.9632, allocations: 43.95 kB / 1.112 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.9633, allocations: 19.97 kB / 1.112 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.9633, allocations: 15.97 kB / 1.112 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002504/0.9636, allocations: 223.1 kB / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9636, allocations: 0 / 1.112 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006282/0.9642, allocations: 108 kB / 1.112 GB, free: 12.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002585/0.9645, allocations: 127 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.9671, allocations: 0.7274 MB / 1.113 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9671, allocations: 0 / 1.113 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.9685, allocations: 0.5127 MB / 1.114 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.9693, allocations: 109.2 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.9719, allocations: 0.7676 MB / 1.114 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.9724, allocations: 0.7647 MB / 1.115 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005708/0.973, allocations: 82.86 kB / 1.115 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.9732, allocations: 47.34 kB / 1.115 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of SimCode: time 2.144e-06/0.9732, allocations: 0 / 1.115 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of Templates: time 0.02219/0.9954, allocations: 12.62 MB / 1.128 GB, free: 12.77 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