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.008954/0.008954, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00189/0.00189, allocations: 198 kB / 16.68 MB, free: 5.969 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.619/2.619, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 1.018 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 151.6 MB / 1.167 GB, free: 6.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003349/0.3101, allocations: 2.304 MB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8999/1.21, allocations: 152 MB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/1.21, allocations: 10.62 kB / 1.317 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002746/1.211, allocations: 43.55 kB / 1.317 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/1.211, allocations: 99.67 kB / 1.317 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/1.213, allocations: 302 kB / 1.318 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006415/1.213, allocations: 431 kB / 1.318 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/1.214, allocations: 103.2 kB / 1.318 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.215, allocations: 282 kB / 1.318 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/1.216, allocations: 189.2 kB / 1.319 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.147e-05/1.216, allocations: 30.69 kB / 1.319 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/1.217, allocations: 279.3 kB / 1.319 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1.217, allocations: 81 kB / 1.319 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/1.217, allocations: 160.1 kB / 1.319 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008456/1.218, allocations: 0.4886 MB / 1.32 GB, free: 11.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.218, allocations: 0 / 1.32 GB, free: 11.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.218, allocations: 4.703 kB / 1.32 GB, free: 11.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.218, allocations: 1.219 kB / 1.32 GB, free: 11.45 MB / 1.014 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.00157/1.219, allocations: 0.7197 MB / 1.32 GB, free: 10.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.219, allocations: 8.594 kB / 1.32 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/1.222, allocations: 263.1 kB / 1.321 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/1.223, allocations: 302.1 kB / 1.321 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.223, allocations: 21.66 kB / 1.321 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/1.223, allocations: 25.84 kB / 1.321 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/1.224, allocations: 432.2 kB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.224, allocations: 0 / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/1.224, allocations: 10.22 kB / 1.321 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/1.224, allocations: 11.47 kB / 1.321 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/1.227, allocations: 0.5239 MB / 1.322 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/1.23, allocations: 1.135 MB / 1.323 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/1.233, allocations: 462.3 kB / 1.323 GB, free: 9.992 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/1.234, allocations: 226.2 kB / 1.324 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/1.234, allocations: 13.14 kB / 1.324 GB, free: 9.914 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/1.234, allocations: 31.75 kB / 1.324 GB, free: 9.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/1.234, allocations: 0 / 1.324 GB, free: 9.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.0157/1.249, allocations: 1.73 MB / 1.325 GB, free: 9.352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/1.25, allocations: 54.52 kB / 1.325 GB, free: 9.289 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/1.25, allocations: 320.6 kB / 1.326 GB, free: 9.109 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.25, allocations: 26.77 kB / 1.326 GB, free: 9.078 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.25, allocations: 180.1 kB / 1.326 GB, free: 8.922 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/1.25, allocations: 86.81 kB / 1.326 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/1.251, allocations: 73.52 kB / 1.326 GB, free: 8.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.251, allocations: 341.5 kB / 1.326 GB, free: 8.496 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.252, allocations: 208.2 kB / 1.327 GB, free: 8.434 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.253, allocations: 262.6 kB / 1.327 GB, free: 8.312 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/1.255, allocations: 426.2 kB / 1.327 GB, free: 8.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.255, allocations: 5.406 kB / 1.327 GB, free: 8.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00673/1.262, allocations: 0.8949 MB / 1.328 GB, free: 7.906 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.262, allocations: 12.7 kB / 1.328 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.262, allocations: 0 / 1.328 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/1.264, allocations: 279.8 kB / 1.328 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/1.264, allocations: 67.36 kB / 1.329 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.278, allocations: 4.095 MB / 1.333 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/1.279, allocations: 77.22 kB / 1.333 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/1.279, allocations: 21.45 kB / 1.333 GB, free: 4.719 MB / 1.014 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.0002455/1.279, allocations: 138.6 kB / 1.333 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/1.28, allocations: 36.48 kB / 1.333 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/1.287, allocations: 0.9487 MB / 1.334 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.287, allocations: 2.406 kB / 1.334 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.287, allocations: 5.031 kB / 1.334 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.287, allocations: 2.531 kB / 1.334 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/1.287, allocations: 424.4 kB / 1.334 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.287, allocations: 3.938 kB / 1.334 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/1.288, allocations: 56.19 kB / 1.334 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.289, allocations: 281.5 kB / 1.334 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/1.289, allocations: 14.41 kB / 1.334 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.304, allocations: 4.08 MB / 1.338 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.304, allocations: 2.625 kB / 1.338 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/1.311, allocations: 0.9613 MB / 1.339 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/1.311, allocations: 111.3 kB / 1.339 GB, free: 388 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.311, allocations: 6.875 kB / 1.339 GB, free: 384 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/1.312, allocations: 42.11 kB / 1.34 GB, free: 380 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.312, allocations: 20.09 kB / 1.34 GB, free: 376 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/1.312, allocations: 17 kB / 1.34 GB, free: 372 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003163/1.312, allocations: 227.4 kB / 1.34 GB, free: 244 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.312, allocations: 0 / 1.34 GB, free: 244 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.000806/1.313, allocations: 114.9 kB / 1.34 GB, free: 228 kB / 1.014 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.0002941/1.314, allocations: 128.6 kB / 1.34 GB, free: 120 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.317, allocations: 0.724 MB / 1.341 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.317, allocations: 0 / 1.341 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.318, allocations: 0.5013 MB / 1.341 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/1.319, allocations: 118 kB / 1.341 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.322, allocations: 0.6846 MB / 1.342 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/1.322, allocations: 0.7656 MB / 1.343 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004373/1.323, allocations: 81.23 kB / 1.343 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.323, allocations: 35.55 kB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of SimCode: time 9.61e-07/1.323, allocations: 4 kB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Templates: time 0.02636/1.349, allocations: 13.63 MB / 1.356 GB, free: 8.242 MB / 1.029 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