Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.456/1.456, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008963/0.0008963, allocations: 179.3 kB / 393.1 MB, free: 4.086 MB / 314.7 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.158/1.158, allocations: 225.7 MB / 0.6743 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007069/0.0007067, allocations: 98.66 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4352, allocations: 121.3 MB / 1.041 GB, free: 59.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1243/0.5595, allocations: 150.5 MB / 1.188 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02953/0.5891, allocations: 30.66 MB / 1.218 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.5922, allocations: 71.62 kB / 1.218 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.5944, allocations: 1 MB / 1.219 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.5992, allocations: 1.705 MB / 1.22 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.6034, allocations: 1.742 MB / 1.222 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00612/0.6095, allocations: 6.151 MB / 1.228 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004436/0.614, allocations: 3.964 MB / 1.232 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.6159, allocations: 1.606 MB / 1.234 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.6183, allocations: 2.209 MB / 1.236 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003182/0.6186, allocations: 140 kB / 1.236 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.6202, allocations: 0.7101 MB / 1.237 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.6209, allocations: 0.8712 MB / 1.237 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.6225, allocations: 1.854 MB / 1.239 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.6273, allocations: 6.186 MB / 1.245 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6273, allocations: 0 / 1.245 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6273, allocations: 0 / 1.245 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.457e-05/0.6274, allocations: 0 / 1.245 GB, free: 3.012 MB / 0.8073 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.006983/0.6343, allocations: 4.323 MB / 1.25 GB, free: 14.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6344, allocations: 8.031 kB / 1.25 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6462, allocations: 2.952 MB / 1.252 GB, free: 11.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.65, allocations: 2.508 MB / 1.255 GB, free: 9.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.6501, allocations: 279.5 kB / 1.255 GB, free: 8.789 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005009/0.6506, allocations: 368 kB / 1.256 GB, free: 8.43 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009979/0.6606, allocations: 5.74 MB / 1.261 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.6607, allocations: 3.938 kB / 1.261 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.661, allocations: 156 kB / 1.261 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.6611, allocations: 92 kB / 1.261 GB, free: 2.383 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.6743, allocations: 6.92 MB / 1.268 GB, free: 11.45 MB / 0.8386 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.0229/0.6972, allocations: 17.42 MB / 1.285 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/0.705, allocations: 4.469 MB / 1.289 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/0.7099, allocations: 3.083 MB / 1.292 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/0.7107, allocations: 0.6777 MB / 1.293 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004809/0.7155, allocations: 2.725 MB / 1.296 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=315): time 4.518e-06/0.7155, allocations: 0 / 1.296 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=315): time 0.02112/0.7367, allocations: 9.733 MB / 1.305 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.7368, allocations: 214.4 kB / 1.306 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.7396, allocations: 2.626 MB / 1.308 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.7398, allocations: 77.7 kB / 1.308 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7409, allocations: 1.542 MB / 1.31 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/0.7417, allocations: 1.04 MB / 1.311 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.7419, allocations: 56 kB / 1.311 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.742, allocations: 419.7 kB / 1.311 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/0.7463, allocations: 2.176 MB / 1.313 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.7507, allocations: 2.521 MB / 1.316 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00858/0.7593, allocations: 4.7 MB / 1.32 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7593, allocations: 0 / 1.32 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.3378/1.097, allocations: 5.788 MB / 1.326 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.097, allocations: 6.891 kB / 1.326 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.097, allocations: 4.906 kB / 1.326 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/1.099, allocations: 0.8246 MB / 1.327 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/1.103, allocations: 0.8101 MB / 1.328 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/1.113, allocations: 6.997 MB / 1.334 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.117, allocations: 0.6051 MB / 1.335 GB, free: 228 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/1.117, allocations: 120.4 kB / 1.335 GB, free: 228 MB / 0.8855 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.001743/1.119, allocations: 1.033 MB / 1.336 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/1.119, allocations: 309.5 kB / 1.336 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.131, allocations: 6.366 MB / 1.343 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/1.131, allocations: 32.77 kB / 1.343 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.131, allocations: 10.53 kB / 1.343 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/1.131, allocations: 15.5 kB / 1.343 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.148, allocations: 10.71 MB / 1.353 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.148, allocations: 0 / 1.353 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/1.151, allocations: 0.7703 MB / 1.354 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/1.152, allocations: 0.7313 MB / 1.355 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/1.153, allocations: 85.53 kB / 1.355 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/1.161, allocations: 9.797 MB / 1.364 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.161, allocations: 0 / 1.364 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.177, allocations: 9.06 MB / 1.373 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.178, allocations: 0.9435 MB / 1.374 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/1.179, allocations: 58.28 kB / 1.374 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.182, allocations: 447.7 kB / 1.375 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004727/1.182, allocations: 210.1 kB / 1.375 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.182, allocations: 111.4 kB / 1.375 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002234/1.185, allocations: 1.898 MB / 1.377 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/1.185, allocations: 0 / 1.377 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003125/1.188, allocations: 1.225 MB / 1.378 GB, free: 209.3 MB / 0.8855 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.00215/1.19, allocations: 1.18 MB / 1.379 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.2, allocations: 5.487 MB / 1.384 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.2, allocations: 1.969 kB / 1.384 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005771/1.206, allocations: 3.331 MB / 1.388 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.209, allocations: 0.708 MB / 1.388 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.223, allocations: 10.79 MB / 1.399 GB, free: 200 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/1.225, allocations: 2.691 MB / 1.401 GB, free: 199 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004125/1.229, allocations: 1.163 MB / 1.403 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.23, allocations: 277.6 kB / 1.403 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.02e-07/1.23, allocations: 0 / 1.403 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.06643/1.297, allocations: 51.68 MB / 1.453 GB, free: 158.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)