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.007345/0.007345, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001544/0.001544, allocations: 189.2 kB / 16.78 MB, free: 5.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.433/2.433, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7348, allocations: 140.4 MB / 0.9496 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003464/0.7383, allocations: 2.353 MB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1788/0.9171, allocations: 149.7 MB / 1.098 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.9175, allocations: 4 kB / 1.098 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.9177, allocations: 31.66 kB / 1.098 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.9181, allocations: 87.39 kB / 1.098 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.9188, allocations: 263.2 kB / 1.098 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.9193, allocations: 407.8 kB / 1.099 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.9195, allocations: 101.7 kB / 1.099 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.9213, allocations: 254 kB / 1.099 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.9216, allocations: 179.2 kB / 1.099 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.9216, allocations: 16 kB / 1.099 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.9222, allocations: 271.6 kB / 1.1 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.9223, allocations: 63.73 kB / 1.1 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.9225, allocations: 155.2 kB / 1.1 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.9229, allocations: 331.3 kB / 1.1 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.9229, allocations: 4 kB / 1.1 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9229, allocations: 3.984 kB / 1.1 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.9229, allocations: 0 / 1.1 GB, free: 7.379 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.001539/0.9244, allocations: 0.7017 MB / 1.101 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.9245, allocations: 8.031 kB / 1.101 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.9274, allocations: 267.4 kB / 1.101 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.9279, allocations: 299.3 kB / 1.101 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.9279, allocations: 24.5 kB / 1.101 GB, free: 6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.928, allocations: 28 kB / 1.101 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.9295, allocations: 428.5 kB / 1.102 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9295, allocations: 0 / 1.102 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.9295, allocations: 12 kB / 1.102 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.9296, allocations: 11.94 kB / 1.102 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.932, allocations: 0.5213 MB / 1.102 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.9351, allocations: 1.128 MB / 1.103 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.9375, allocations: 462.3 kB / 1.104 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.9386, allocations: 232.7 kB / 1.104 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.9387, allocations: 4 kB / 1.104 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.9387, allocations: 34.56 kB / 1.104 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.9387, allocations: 3.938 kB / 1.104 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01715/0.9559, allocations: 1.728 MB / 1.106 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.956, allocations: 55.41 kB / 1.106 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.9563, allocations: 304.5 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.9564, allocations: 29.7 kB / 1.106 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.9565, allocations: 176.2 kB / 1.106 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/0.9566, allocations: 90.73 kB / 1.107 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.9568, allocations: 77.83 kB / 1.107 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.957, allocations: 346.8 kB / 1.107 GB, free: 200 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.958, allocations: 196.4 kB / 1.107 GB, free: 4 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.9592, allocations: 259 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.9613, allocations: 442.8 kB / 1.108 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.9613, allocations: 4 kB / 1.108 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007267/0.9686, allocations: 0.8926 MB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.9686, allocations: 9.25 kB / 1.109 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9687, allocations: 0 / 1.109 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.9706, allocations: 273.4 kB / 1.109 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.9711, allocations: 71.88 kB / 1.109 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.9852, allocations: 3.787 MB / 1.113 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.9861, allocations: 71.64 kB / 1.113 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.9862, allocations: 23.91 kB / 1.113 GB, free: 9.883 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.0002137/0.9864, allocations: 137.8 kB / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.9865, allocations: 35.53 kB / 1.113 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/0.9941, allocations: 0.9434 MB / 1.114 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9941, allocations: 11.98 kB / 1.114 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9941, allocations: 3.938 kB / 1.114 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.9942, allocations: 0 / 1.114 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.9947, allocations: 436.8 kB / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.9947, allocations: 0 / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.9952, allocations: 55.89 kB / 1.114 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.997, allocations: 277.4 kB / 1.115 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.9971, allocations: 19.91 kB / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.011, allocations: 3.778 MB / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.011, allocations: 0 / 1.118 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/1.018, allocations: 0.9621 MB / 1.119 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.018, allocations: 112.7 kB / 1.119 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/1.018, allocations: 4 kB / 1.119 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/1.019, allocations: 47.89 kB / 1.119 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.019, allocations: 23.91 kB / 1.119 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/1.019, allocations: 15.97 kB / 1.119 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002543/1.019, allocations: 227.1 kB / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.019, allocations: 0 / 1.12 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000617/1.02, allocations: 108 kB / 1.12 GB, free: 2.332 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.0002307/1.02, allocations: 123.2 kB / 1.12 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002745/1.023, allocations: 0.7156 MB / 1.121 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.023, allocations: 0 / 1.121 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/1.024, allocations: 0.4933 MB / 1.121 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/1.025, allocations: 101.3 kB / 1.121 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/1.028, allocations: 0.8033 MB / 1.122 GB, free: 16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/1.028, allocations: 0.7684 MB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/1.028, allocations: 43.41 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/1.028, allocations: 3.938 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of Templates: time 0.01093/1.039, allocations: 8.278 MB / 1.131 GB, free: 6.895 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches