Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008266/0.0008267, allocations: 174.7 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4564/0.4564, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006905/0.0006905, allocations: 94.91 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 12 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2667, allocations: 71.34 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.3844/0.6511, allocations: 150.5 MB / 0.7121 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03054/0.6817, allocations: 30.66 MB / 0.7421 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.6868, allocations: 76.31 kB / 0.7421 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.6901, allocations: 1.001 MB / 0.7431 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.6962, allocations: 1.705 MB / 0.7448 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.7011, allocations: 1.752 MB / 0.7465 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007836/0.709, allocations: 6.142 MB / 0.7525 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006055/0.715, allocations: 3.948 MB / 0.7564 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.7185, allocations: 1.606 MB / 0.7579 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.7223, allocations: 2.221 MB / 0.7601 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.7235, allocations: 136.5 kB / 0.7602 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.7264, allocations: 0.702 MB / 0.7609 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.7278, allocations: 0.8696 MB / 0.7618 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002999/0.7308, allocations: 1.856 MB / 0.7636 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.7373, allocations: 6.196 MB / 0.7696 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7374, allocations: 3.938 kB / 0.7696 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7374, allocations: 0 / 0.7696 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001928/0.7376, allocations: 0 / 0.7696 GB, free: 6.902 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.009343/0.7469, allocations: 4.313 MB / 0.7738 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.747, allocations: 8.938 kB / 0.7738 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.7598, allocations: 2.957 MB / 0.7767 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/0.7653, allocations: 2.505 MB / 0.7792 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.7655, allocations: 278.6 kB / 0.7794 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.7666, allocations: 366.6 kB / 0.7798 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.7791, allocations: 5.744 MB / 0.7854 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.979e-05/0.7792, allocations: 4 kB / 0.7854 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.7796, allocations: 153.9 kB / 0.7856 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-05/0.7797, allocations: 98.47 kB / 0.7856 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.7944, allocations: 6.925 MB / 0.7924 GB, free: 7.559 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02811/0.8225, allocations: 17.41 MB / 0.8094 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008597/0.8311, allocations: 4.472 MB / 0.8138 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/0.8368, allocations: 3.08 MB / 0.8168 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/0.8377, allocations: 0.6835 MB / 0.8175 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005633/0.8434, allocations: 2.727 MB / 0.8201 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=315): time 4.889e-06/0.8434, allocations: 0 / 0.8201 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=315): time 0.02549/0.8689, allocations: 9.732 MB / 0.8296 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.869, allocations: 216.5 kB / 0.8298 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.8729, allocations: 2.626 MB / 0.8324 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005148/0.8734, allocations: 78.33 kB / 0.8325 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.8746, allocations: 1.537 MB / 0.834 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.8758, allocations: 1.049 MB / 0.835 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.8762, allocations: 60.19 kB / 0.835 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.8765, allocations: 414.8 kB / 0.8354 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/0.8811, allocations: 2.175 MB / 0.8376 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/0.8861, allocations: 2.519 MB / 0.84 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009674/0.8958, allocations: 4.703 MB / 0.8446 GB, free: 13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.8958, allocations: 0 / 0.8446 GB, free: 13 MB / 0.573 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01241/0.9082, allocations: 5.785 MB / 0.8503 GB, free: 7.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.9083, allocations: 12.03 kB / 0.8503 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.9083, allocations: 7.984 kB / 0.8503 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.9101, allocations: 0.8239 MB / 0.8511 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/0.914, allocations: 0.8103 MB / 0.8519 GB, free: 5.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00973/0.9238, allocations: 6.99 MB / 0.8587 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/0.9279, allocations: 0.6023 MB / 0.8593 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006691/0.9286, allocations: 123.9 kB / 0.8594 GB, free: 13.77 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002524/0.9311, allocations: 1.035 MB / 0.8604 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008802/0.932, allocations: 308.1 kB / 0.8607 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.9457, allocations: 6.378 MB / 0.867 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.9458, allocations: 32 kB / 0.867 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.9458, allocations: 8 kB / 0.867 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/0.9459, allocations: 15.94 kB / 0.867 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/0.9642, allocations: 10.71 MB / 0.8775 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.9642, allocations: 96 / 0.8775 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/0.9679, allocations: 0.774 MB / 0.8782 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.9696, allocations: 0.7301 MB / 0.8789 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/0.97, allocations: 83.94 kB / 0.879 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.9801, allocations: 9.808 MB / 0.8886 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9801, allocations: 0 / 0.8886 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.9974, allocations: 9.06 MB / 0.8974 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/0.9994, allocations: 0.9335 MB / 0.8984 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.9999, allocations: 60 kB / 0.8984 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.003, allocations: 457.5 kB / 0.8988 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/1.003, allocations: 206.3 kB / 0.899 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/1.003, allocations: 107.9 kB / 0.8991 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002309/1.006, allocations: 1.896 MB / 0.901 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/1.006, allocations: 4 kB / 0.901 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002771/1.009, allocations: 1.219 MB / 0.9022 GB, free: 1.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/1.011, allocations: 1.164 MB / 0.9033 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.021, allocations: 5.5 MB / 0.9087 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.021, allocations: 0 / 0.9087 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005871/1.027, allocations: 3.324 MB / 0.9119 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.03, allocations: 0.7134 MB / 0.9126 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.045, allocations: 10.79 MB / 0.9232 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/1.047, allocations: 2.687 MB / 0.9258 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00421/1.051, allocations: 1.166 MB / 0.9269 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.053, allocations: 279.2 kB / 0.9272 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.053, allocations: 0 / 0.9272 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of Templates: time 0.2871/1.34, allocations: 51.65 MB / 0.9777 GB, free: 275.4 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)