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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007848/0.0007849, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 15.98 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.601, allocations: 153.8 MB / 1.024 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002538/0.6036, allocations: 1.99 MB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1439/0.7475, allocations: 148.1 MB / 1.17 GB, free: 9.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.7478, allocations: 4 kB / 1.17 GB, free: 9.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.7479, allocations: 31.64 kB / 1.17 GB, free: 9.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.7482, allocations: 87.39 kB / 1.17 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.7489, allocations: 267.2 kB / 1.171 GB, free: 8.938 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.7492, allocations: 415.8 kB / 1.171 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.7494, allocations: 89.83 kB / 1.171 GB, free: 8.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.7513, allocations: 246 kB / 1.171 GB, free: 8.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.7515, allocations: 163.2 kB / 1.172 GB, free: 8.059 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.7515, allocations: 12 kB / 1.172 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.752, allocations: 255.6 kB / 1.172 GB, free: 7.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.7521, allocations: 63.72 kB / 1.172 GB, free: 7.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.7522, allocations: 164.9 kB / 1.172 GB, free: 7.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.7526, allocations: 335.2 kB / 1.172 GB, free: 7.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7526, allocations: 4 kB / 1.172 GB, free: 7.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7526, allocations: 0 / 1.172 GB, free: 7.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.7526, allocations: 0 / 1.172 GB, free: 7.234 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.001386/0.754, allocations: 0.6639 MB / 1.173 GB, free: 6.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.7541, allocations: 8.031 kB / 1.173 GB, free: 6.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.7569, allocations: 255.5 kB / 1.173 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.7573, allocations: 295.3 kB / 1.173 GB, free: 5.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.7574, allocations: 20.56 kB / 1.174 GB, free: 5.914 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.7574, allocations: 28 kB / 1.174 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.7589, allocations: 440.5 kB / 1.174 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7589, allocations: 0 / 1.174 GB, free: 5.453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.759, allocations: 12 kB / 1.174 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.759, allocations: 7.938 kB / 1.174 GB, free: 5.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.7613, allocations: 0.533 MB / 1.174 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.7642, allocations: 1.143 MB / 1.176 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.7665, allocations: 463.7 kB / 1.176 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.7676, allocations: 240.6 kB / 1.176 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.7676, allocations: 8.375 kB / 1.176 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.7677, allocations: 30.56 kB / 1.176 GB, free: 2.961 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.7677, allocations: 0 / 1.176 GB, free: 2.961 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01672/0.7844, allocations: 1.717 MB / 1.178 GB, free: 1.195 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.7845, allocations: 59.41 kB / 1.178 GB, free: 1.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.7848, allocations: 312.4 kB / 1.178 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.7848, allocations: 29.7 kB / 1.178 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.785, allocations: 172.2 kB / 1.179 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.785, allocations: 86.75 kB / 1.179 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.7851, allocations: 29.7 kB / 1.179 GB, free: 496 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7852, allocations: 342.7 kB / 1.179 GB, free: 144 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.7864, allocations: 208.4 kB / 1.179 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.7875, allocations: 266.8 kB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.7896, allocations: 446.8 kB / 1.18 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7896, allocations: 0 / 1.18 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007303/0.7969, allocations: 0.8927 MB / 1.181 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.797, allocations: 9.094 kB / 1.181 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.797, allocations: 0 / 1.181 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.7989, allocations: 273.4 kB / 1.181 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.7994, allocations: 79.88 kB / 1.181 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.8131, allocations: 3.773 MB / 1.185 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/0.814, allocations: 75.55 kB / 1.185 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.814, allocations: 19.97 kB / 1.185 GB, free: 9.809 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.0002086/0.8142, allocations: 150.6 kB / 1.185 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.8143, allocations: 27.62 kB / 1.185 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007315/0.8216, allocations: 0.9469 MB / 1.186 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8217, allocations: 4 kB / 1.186 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8217, allocations: 3.938 kB / 1.186 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.8217, allocations: 0 / 1.186 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.8222, allocations: 428.9 kB / 1.186 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8222, allocations: 0 / 1.186 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.8226, allocations: 59.89 kB / 1.186 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.8245, allocations: 281.4 kB / 1.187 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.8245, allocations: 11.98 kB / 1.187 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.838, allocations: 3.766 MB / 1.19 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.838, allocations: 4.062 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007176/0.8452, allocations: 0.9544 MB / 1.191 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.8453, allocations: 112.7 kB / 1.191 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.8454, allocations: 8 kB / 1.191 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.8462, allocations: 39.95 kB / 1.191 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.8463, allocations: 27.89 kB / 1.191 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.8463, allocations: 19.97 kB / 1.192 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002351/0.8465, allocations: 227.1 kB / 1.192 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8466, allocations: 0 / 1.192 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005928/0.8472, allocations: 115.8 kB / 1.192 GB, free: 2.266 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.0002183/0.8474, allocations: 123.4 kB / 1.192 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002764/0.8502, allocations: 0.7279 MB / 1.193 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.8502, allocations: 4 kB / 1.193 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.8517, allocations: 0.509 MB / 1.193 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.8524, allocations: 97.28 kB / 1.193 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.855, allocations: 0.8346 MB / 1.194 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.8553, allocations: 0.7645 MB / 1.195 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.8555, allocations: 43.41 kB / 1.195 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.8555, allocations: 0 / 1.195 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of Templates: time 0.01147/0.867, allocations: 8.251 MB / 1.203 GB, free: 6.824 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches