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.001625/0.001626, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 195 kB / 16.25 MB, free: 6.625 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.557/2.557, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.6021, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003204/0.6054, allocations: 2.346 MB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.7786, allocations: 149.8 MB / 1.165 GB, free: 9.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.779, allocations: 4 kB / 1.165 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.7794, allocations: 35.66 kB / 1.165 GB, free: 9.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.78, allocations: 87.39 kB / 1.165 GB, free: 9.855 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.7809, allocations: 275.2 kB / 1.166 GB, free: 9.586 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.7816, allocations: 423.8 kB / 1.166 GB, free: 9.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.7819, allocations: 109.7 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/0.7844, allocations: 283.6 kB / 1.167 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.7848, allocations: 191.2 kB / 1.167 GB, free: 8.621 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.7849, allocations: 32 kB / 1.167 GB, free: 8.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.7856, allocations: 275.6 kB / 1.167 GB, free: 8.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.7858, allocations: 83.66 kB / 1.167 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.786, allocations: 171.2 kB / 1.167 GB, free: 8.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.7869, allocations: 478.6 kB / 1.168 GB, free: 7.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.7869, allocations: 4 kB / 1.168 GB, free: 7.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7869, allocations: 0 / 1.168 GB, free: 7.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.7869, allocations: 0 / 1.168 GB, free: 7.598 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.001895/0.7888, allocations: 0.7094 MB / 1.168 GB, free: 6.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7889, allocations: 8.031 kB / 1.168 GB, free: 6.828 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.7934, allocations: 263.4 kB / 1.169 GB, free: 6.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.7938, allocations: 295.3 kB / 1.169 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.7939, allocations: 16.56 kB / 1.169 GB, free: 6.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.7939, allocations: 28 kB / 1.169 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.7962, allocations: 432.5 kB / 1.169 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7962, allocations: 3.984 kB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.7963, allocations: 8 kB / 1.169 GB, free: 5.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.7963, allocations: 11.94 kB / 1.169 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.7998, allocations: 0.5251 MB / 1.17 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.8042, allocations: 1.135 MB / 1.171 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.8075, allocations: 458.4 kB / 1.171 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.8091, allocations: 228.7 kB / 1.172 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.8092, allocations: 7.984 kB / 1.172 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8092, allocations: 34.5 kB / 1.172 GB, free: 3.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 3.456e-06/0.8092, allocations: 3.938 kB / 1.172 GB, free: 3.301 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.02644/0.8357, allocations: 1.725 MB / 1.173 GB, free: 1.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.8358, allocations: 63.34 kB / 1.173 GB, free: 1.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.8364, allocations: 308.5 kB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.8365, allocations: 25.7 kB / 1.174 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.8367, allocations: 176.2 kB / 1.174 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.8369, allocations: 82.75 kB / 1.174 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.8372, allocations: 77.83 kB / 1.174 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8374, allocations: 350.7 kB / 1.174 GB, free: 432 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.8391, allocations: 204.4 kB / 1.175 GB, free: 228 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.841, allocations: 258.9 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.8437, allocations: 434.8 kB / 1.175 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.8437, allocations: 4 kB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008415/0.8521, allocations: 0.8927 MB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8522, allocations: 4 kB / 1.176 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8522, allocations: 4 kB / 1.176 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.8544, allocations: 281.4 kB / 1.176 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.8549, allocations: 63.94 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.8724, allocations: 4.103 MB / 1.181 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8736, allocations: 75.55 kB / 1.181 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.8738, allocations: 19.97 kB / 1.181 GB, free: 9.773 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.0004146/0.8743, allocations: 141.8 kB / 1.181 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.8745, allocations: 31.62 kB / 1.181 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008344/0.8828, allocations: 0.9468 MB / 1.182 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.8828, allocations: 8 kB / 1.182 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8829, allocations: 0 / 1.182 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8829, allocations: 0 / 1.182 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.8837, allocations: 436.9 kB / 1.182 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8837, allocations: 0 / 1.182 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.8842, allocations: 47.95 kB / 1.182 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.8862, allocations: 289.3 kB / 1.182 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.8863, allocations: 15.97 kB / 1.182 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/0.9022, allocations: 4.073 MB / 1.186 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9022, allocations: 0 / 1.186 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007964/0.9102, allocations: 0.9625 MB / 1.187 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.9103, allocations: 112.7 kB / 1.188 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.9104, allocations: 7.906 kB / 1.188 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.9113, allocations: 51.89 kB / 1.188 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9114, allocations: 19.91 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.9115, allocations: 19.91 kB / 1.188 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002773/0.9117, allocations: 223.1 kB / 1.188 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9117, allocations: 0 / 1.188 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006915/0.9124, allocations: 112 kB / 1.188 GB, free: 1.906 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.0002725/0.9127, allocations: 115.5 kB / 1.188 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.9158, allocations: 0.7471 MB / 1.189 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9158, allocations: 0 / 1.189 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.9175, allocations: 0.5011 MB / 1.189 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.9182, allocations: 105.2 kB / 1.189 GB, free: 392 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.921, allocations: 0.7843 MB / 1.19 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.9213, allocations: 0.7684 MB / 1.191 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000484/0.9218, allocations: 86.84 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.9219, allocations: 35.42 kB / 1.191 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9219, allocations: 0 / 1.191 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.02124/0.9432, allocations: 13.47 MB / 1.204 GB, free: 1.258 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