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.000931/0.000931, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009446/0.0009448, allocations: 177.3 kB / 15.94 MB, free: 228 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.352/1.352, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.646/2.646, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8567, allocations: 142.3 MB / 0.9535 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002067/0.8589, allocations: 1.872 MB / 0.9553 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1667/1.026, allocations: 128.3 MB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/1.026, allocations: 7.938 kB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/1.026, allocations: 23.78 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003783/1.026, allocations: 111.7 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/1.027, allocations: 255.2 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003681/1.028, allocations: 264.7 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/1.028, allocations: 74.12 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/1.028, allocations: 175.6 kB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/1.028, allocations: 155.3 kB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/1.028, allocations: 12 kB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/1.029, allocations: 271.6 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/1.029, allocations: 59.73 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/1.029, allocations: 69.58 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/1.03, allocations: 337.2 kB / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/1.03, allocations: 0 / 1.082 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.043e-06/1.03, allocations: 4 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.03, allocations: 0 / 1.082 GB, free: 11.84 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.001497/1.031, allocations: 0.6703 MB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.031, allocations: 8.031 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/1.034, allocations: 247.3 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/1.034, allocations: 291.4 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/1.034, allocations: 20.56 kB / 1.084 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.035, allocations: 35.88 kB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.036, allocations: 432.5 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.036, allocations: 0 / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/1.036, allocations: 8 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/1.036, allocations: 8 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/1.038, allocations: 0.533 MB / 1.085 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/1.042, allocations: 1.144 MB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.044, allocations: 466.7 kB / 1.086 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.983e-05/1.044, allocations: 12.06 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.044, allocations: 38.5 kB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/1.044, allocations: 4 kB / 1.086 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.01504/1.059, allocations: 1.713 MB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.059, allocations: 55.41 kB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/1.059, allocations: 300.5 kB / 1.088 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/1.059, allocations: 37.7 kB / 1.088 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.06, allocations: 168.2 kB / 1.088 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/1.06, allocations: 86.69 kB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/1.06, allocations: 4 kB / 1.088 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.06, allocations: 342.8 kB / 1.089 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/1.061, allocations: 204.4 kB / 1.089 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.062, allocations: 266.9 kB / 1.089 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.063, allocations: 219.8 kB / 1.089 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.063, allocations: 4 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006676/1.07, allocations: 0.8848 MB / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.07, allocations: 15.98 kB / 1.09 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.07, allocations: 0 / 1.09 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/1.072, allocations: 281.4 kB / 1.091 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/1.072, allocations: 67.88 kB / 1.091 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.086, allocations: 3.861 MB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/1.087, allocations: 79.58 kB / 1.095 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/1.087, allocations: 19.97 kB / 1.095 GB, free: 14.84 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.0001889/1.087, allocations: 149.7 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/1.087, allocations: 31.62 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00679/1.094, allocations: 0.9395 MB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.094, allocations: 4 kB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.094, allocations: 0 / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.094, allocations: 7.953 kB / 1.096 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/1.094, allocations: 424.9 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.094, allocations: 0 / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/1.095, allocations: 55.95 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/1.096, allocations: 281.3 kB / 1.096 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/1.097, allocations: 15.97 kB / 1.096 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.11, allocations: 3.856 MB / 1.1 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.11, allocations: 0 / 1.1 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006515/1.116, allocations: 0.962 MB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/1.117, allocations: 112.6 kB / 1.101 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/1.117, allocations: 8 kB / 1.101 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/1.117, allocations: 43.95 kB / 1.101 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/1.117, allocations: 19.97 kB / 1.101 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/1.117, allocations: 15.97 kB / 1.101 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002369/1.118, allocations: 223.1 kB / 1.101 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/1.118, allocations: 7.875 kB / 1.101 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005847/1.118, allocations: 112 kB / 1.102 GB, free: 7.219 MB / 0.8575 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.0002141/1.119, allocations: 119.2 kB / 1.102 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002568/1.121, allocations: 0.7279 MB / 1.102 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.121, allocations: 0 / 1.102 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.123, allocations: 0.5088 MB / 1.103 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/1.123, allocations: 102.5 kB / 1.103 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/1.126, allocations: 0.759 MB / 1.104 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/1.126, allocations: 0.7764 MB / 1.105 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004499/1.127, allocations: 82.86 kB / 1.105 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/1.127, allocations: 35.42 kB / 1.105 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/1.127, allocations: 0 / 1.105 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of Templates: time 0.01865/1.145, allocations: 12.64 MB / 1.117 GB, free: 7.43 MB / 0.8731 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","../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches