Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.066/3.066, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.075e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.006707/0.006738, allocations: 2.271 MB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2455/0.2523, allocations: 147.6 MB / 0.9571 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.2525, allocations: 7.938 kB / 0.9571 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2528, allocations: 55.39 kB / 0.9572 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.2532, allocations: 107.1 kB / 0.9573 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.254, allocations: 306.8 kB / 0.9576 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.2546, allocations: 439.5 kB / 0.958 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.2548, allocations: 72.33 kB / 0.9581 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.2567, allocations: 416.7 kB / 0.9585 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.257, allocations: 147.6 kB / 0.9586 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.2571, allocations: 32 kB / 0.9587 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.2577, allocations: 259.5 kB / 0.9589 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2578, allocations: 83.7 kB / 0.959 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.258, allocations: 119.7 kB / 0.9591 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008682/0.2589, allocations: 0.5373 MB / 0.9596 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2589, allocations: 3.938 kB / 0.9596 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2589, allocations: 0 / 0.9596 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2589, allocations: 0 / 0.9596 GB, free: 9.312 MB / 0.9167 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.00169/0.2606, allocations: 0.741 MB / 0.9603 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2606, allocations: 12.03 kB / 0.9604 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.2632, allocations: 287.3 kB / 0.9606 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2637, allocations: 260.4 kB / 0.9609 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.2638, allocations: 24.64 kB / 0.9609 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.2638, allocations: 28 kB / 0.9609 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2649, allocations: 389.8 kB / 0.9613 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2649, allocations: 4 kB / 0.9613 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.265, allocations: 8 kB / 0.9613 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.265, allocations: 11.94 kB / 0.9613 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.2665, allocations: 450.3 kB / 0.9618 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2695, allocations: 1.013 MB / 0.9627 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.2709, allocations: 386.9 kB / 0.9631 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.2717, allocations: 182 kB / 0.9633 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.2717, allocations: 7.938 kB / 0.9633 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2718, allocations: 37.39 kB / 0.9633 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.2718, allocations: 0 / 0.9633 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.01008/0.2818, allocations: 1.121 MB / 0.9644 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.2819, allocations: 55.41 kB / 0.9645 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2823, allocations: 296.3 kB / 0.9648 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.2824, allocations: 33.7 kB / 0.9648 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2826, allocations: 239.2 kB / 0.965 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2827, allocations: 95.23 kB / 0.9651 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2829, allocations: 83.53 kB / 0.9652 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003156/0.2832, allocations: 0.5157 MB / 0.9657 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.2838, allocations: 156.5 kB / 0.9658 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.2846, allocations: 350.8 kB / 0.9662 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2859, allocations: 359.9 kB / 0.9665 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2859, allocations: 0 / 0.9665 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004931/0.2908, allocations: 0.7033 MB / 0.9672 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.2908, allocations: 8 kB / 0.9672 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2908, allocations: 0 / 0.9672 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/0.294, allocations: 395 kB / 0.9676 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2945, allocations: 67.88 kB / 0.9677 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.305, allocations: 4.458 MB / 0.972 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.3057, allocations: 43.81 kB / 0.9721 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.3057, allocations: 19.97 kB / 0.9721 GB, free: 12.02 MB / 0.9323 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.0002512/0.306, allocations: 184.5 kB / 0.9722 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3061, allocations: 31.89 kB / 0.9723 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.3109, allocations: 0.7513 MB / 0.973 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3109, allocations: 4 kB / 0.973 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3109, allocations: 0 / 0.973 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.311, allocations: 7.922 kB / 0.973 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.3115, allocations: 324.1 kB / 0.9733 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3115, allocations: 4 kB / 0.9733 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.3119, allocations: 55.89 kB / 0.9734 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.3152, allocations: 403 kB / 0.9738 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.3152, allocations: 15.97 kB / 0.9738 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.3254, allocations: 4.441 MB / 0.9781 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3254, allocations: 0 / 0.9781 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.3302, allocations: 0.8304 MB / 0.9789 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.3302, allocations: 19.8 kB / 0.979 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.3303, allocations: 8 kB / 0.979 GB, free: 4.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.3308, allocations: 27.92 kB / 0.979 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.3309, allocations: 19.95 kB / 0.979 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.3309, allocations: 15.97 kB / 0.979 GB, free: 4.551 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002282/0.3312, allocations: 217.1 kB / 0.9792 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 8 kB / 0.9792 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006191/0.3318, allocations: 119.8 kB / 0.9794 GB, free: 4.215 MB / 0.9323 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.000237/0.332, allocations: 119.1 kB / 0.9795 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.3341, allocations: 0.7671 MB / 0.9802 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3341, allocations: 0 / 0.9802 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.3355, allocations: 0.5778 MB / 0.9808 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.3361, allocations: 100.2 kB / 0.9809 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3378, allocations: 0.5873 MB / 0.9814 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.338, allocations: 155.8 kB / 0.9816 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00034/0.3383, allocations: 70.19 kB / 0.9817 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3385, allocations: 32.48 kB / 0.9817 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of SimCode: time 5.41e-07/0.3385, allocations: 0 / 0.9817 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of Templates: time 0.02316/0.3616, allocations: 13.67 MB / 0.9951 GB, free: 4.113 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.730993054923601]