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.001511/0.001511, 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.001939/0.001939, allocations: 191 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.587/2.587, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 75.89 kB / 0.8685 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7254, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003708/0.7292, allocations: 2.356 MB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.901, allocations: 149.7 MB / 1.165 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.9013, allocations: 7.938 kB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.9016, allocations: 31.66 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.9019, allocations: 87.39 kB / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.9027, allocations: 267.2 kB / 1.165 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000406/0.9031, allocations: 411.7 kB / 1.166 GB, free: 9.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.9033, allocations: 97.69 kB / 1.166 GB, free: 9.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.9052, allocations: 246.2 kB / 1.166 GB, free: 9.082 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.9055, allocations: 175.3 kB / 1.166 GB, free: 8.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.9055, allocations: 20 kB / 1.166 GB, free: 8.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.9061, allocations: 263.6 kB / 1.167 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.084e-05/0.9062, allocations: 63.73 kB / 1.167 GB, free: 8.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.9063, allocations: 155.2 kB / 1.167 GB, free: 8.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.9069, allocations: 466.6 kB / 1.167 GB, free: 7.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9069, allocations: 0 / 1.167 GB, free: 7.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9069, allocations: 0 / 1.167 GB, free: 7.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9069, allocations: 0 / 1.167 GB, free: 7.961 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.001512/0.9084, allocations: 0.7056 MB / 1.168 GB, free: 7.203 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.9085, allocations: 12.03 kB / 1.168 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.9114, allocations: 259.5 kB / 1.168 GB, free: 6.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.9118, allocations: 291.3 kB / 1.169 GB, free: 6.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.9118, allocations: 24.55 kB / 1.169 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.9119, allocations: 24 kB / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.9134, allocations: 428.5 kB / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.9134, allocations: 0 / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.9134, allocations: 12 kB / 1.169 GB, free: 6.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.9135, allocations: 7.938 kB / 1.169 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.9158, allocations: 0.5252 MB / 1.17 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.9188, allocations: 1.143 MB / 1.171 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.9211, allocations: 458.3 kB / 1.171 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.9222, allocations: 224.7 kB / 1.171 GB, free: 3.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.9222, allocations: 16.3 kB / 1.171 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.9223, allocations: 42.5 kB / 1.171 GB, free: 3.66 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 3.577e-06/0.9223, allocations: 4 kB / 1.171 GB, free: 3.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01613/0.9384, allocations: 1.724 MB / 1.173 GB, free: 1.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.9385, allocations: 55.34 kB / 1.173 GB, free: 1.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.9389, allocations: 308.4 kB / 1.173 GB, free: 1.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.939, allocations: 33.7 kB / 1.173 GB, free: 1.469 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9391, allocations: 172.2 kB / 1.174 GB, free: 1.297 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.9392, allocations: 90.75 kB / 1.174 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.9394, allocations: 73.92 kB / 1.174 GB, free: 1.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9395, allocations: 346.7 kB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.9405, allocations: 204.4 kB / 1.174 GB, free: 0.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.9416, allocations: 258.9 kB / 1.174 GB, free: 316 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.9436, allocations: 438.8 kB / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9437, allocations: 0 / 1.175 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007181/0.9508, allocations: 0.9005 MB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9509, allocations: 4 kB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9509, allocations: 0 / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.9528, allocations: 277.4 kB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.9533, allocations: 67.88 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.967, allocations: 3.792 MB / 1.18 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.9679, allocations: 75.55 kB / 1.18 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.968, allocations: 19.97 kB / 1.18 GB, free: 10.45 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.0002173/0.9682, allocations: 141.7 kB / 1.18 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.9683, allocations: 31.62 kB / 1.18 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/0.9756, allocations: 0.9508 MB / 1.181 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.9756, allocations: 0 / 1.181 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.9756, allocations: 3.938 kB / 1.181 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.9756, allocations: 7.984 kB / 1.181 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.9761, allocations: 420.9 kB / 1.181 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.9761, allocations: 0 / 1.181 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.9765, allocations: 47.95 kB / 1.181 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/0.9783, allocations: 285.3 kB / 1.182 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.9784, allocations: 19.91 kB / 1.182 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.9917, allocations: 3.785 MB / 1.185 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9918, allocations: 0 / 1.185 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006891/0.9987, allocations: 0.9547 MB / 1.186 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.9988, allocations: 108.7 kB / 1.186 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.9989, allocations: 4 kB / 1.186 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007251/0.9996, allocations: 51.89 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.9997, allocations: 23.91 kB / 1.187 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.9998, allocations: 11.97 kB / 1.187 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002365/1, allocations: 231.1 kB / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 0 / 1.187 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006025/1.001, allocations: 115.9 kB / 1.187 GB, free: 2.902 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.0002435/1.001, allocations: 123.4 kB / 1.187 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0027/1.004, allocations: 0.7237 MB / 1.188 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.004, allocations: 0 / 1.188 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/1.005, allocations: 0.4972 MB / 1.188 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/1.006, allocations: 98.8 kB / 1.188 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/1.009, allocations: 0.7799 MB / 1.189 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/1.009, allocations: 0.7684 MB / 1.19 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004894/1.009, allocations: 82.86 kB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/1.01, allocations: 35.36 kB / 1.19 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/1.01, allocations: 4 kB / 1.19 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of Templates: time 0.01951/1.029, allocations: 12.98 MB / 1.203 GB, free: 2.773 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=480 -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