Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7937/0.7937, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 179.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 88.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 295.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.691e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4156, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.147, allocations: 2.154 GB / 2.912 GB, free: 183.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/5.148, allocations: 87.83 kB / 2.912 GB, free: 183.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.943/7.091, allocations: 0.6324 GB / 3.544 GB, free: 79.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/7.091, allocations: 0 / 3.544 GB, free: 79.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002176/7.091, allocations: 60.03 kB / 3.544 GB, free: 79.56 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004078/7.095, allocations: 2.641 MB / 3.547 GB, free: 76.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/7.095, allocations: 12.03 kB / 3.547 GB, free: 76.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/7.097, allocations: 467.6 kB / 3.547 GB, free: 76.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/7.102, allocations: 2.659 MB / 3.55 GB, free: 73.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/7.102, allocations: 104.2 kB / 3.55 GB, free: 73.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/7.102, allocations: 76 kB / 3.55 GB, free: 73.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/7.103, allocations: 1.04 MB / 3.551 GB, free: 72.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/7.105, allocations: 1.23 MB / 3.552 GB, free: 71.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/7.105, allocations: 0 / 3.552 GB, free: 71.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/7.105, allocations: 13.19 kB / 3.552 GB, free: 71.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/7.105, allocations: 46.38 kB / 3.552 GB, free: 71.21 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.007164/7.113, allocations: 6.426 MB / 3.559 GB, free: 64.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/7.114, allocations: 1.034 MB / 3.56 GB, free: 63.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/7.115, allocations: 0.5663 MB / 3.56 GB, free: 62.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/7.115, allocations: 296.6 kB / 3.561 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/7.116, allocations: 0.5815 MB / 3.561 GB, free: 61.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=112): time 3.516e-06/7.116, allocations: 0 / 3.561 GB, free: 61.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.002917/7.119, allocations: 1.397 MB / 3.563 GB, free: 60.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/7.119, allocations: 64.72 kB / 3.563 GB, free: 60.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/7.124, allocations: 3.37 MB / 3.566 GB, free: 57.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/7.124, allocations: 33.7 kB / 3.566 GB, free: 56.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/7.125, allocations: 1.321 MB / 3.567 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/7.125, allocations: 346.9 kB / 3.568 GB, free: 55.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/7.125, allocations: 0 / 3.568 GB, free: 55.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/7.125, allocations: 357.9 kB / 3.568 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/7.126, allocations: 406.5 kB / 3.568 GB, free: 54.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/7.127, allocations: 0.6539 MB / 3.569 GB, free: 53.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/7.127, allocations: 0.5222 MB / 3.569 GB, free: 53.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.127, allocations: 0 / 3.569 GB, free: 53.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00236/7.13, allocations: 1.551 MB / 3.571 GB, free: 51.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/7.13, allocations: 11.95 kB / 3.571 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/7.13, allocations: 8 kB / 3.571 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/7.13, allocations: 216.2 kB / 3.571 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/7.131, allocations: 251.6 kB / 3.571 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/7.135, allocations: 4.04 MB / 3.575 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/7.136, allocations: 186.8 kB / 3.575 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/7.137, allocations: 48 kB / 3.576 GB, free: 46.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002552/7.137, allocations: 149.9 kB / 3.576 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/7.137, allocations: 284.5 kB / 3.576 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/7.14, allocations: 1.503 MB / 3.577 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/7.14, allocations: 19.97 kB / 3.577 GB, free: 44.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.14, allocations: 3.953 kB / 3.577 GB, free: 44.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/7.142, allocations: 1.299 MB / 3.579 GB, free: 43.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/7.149, allocations: 3.822 MB / 3.582 GB, free: 39.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/7.149, allocations: 0 / 3.582 GB, free: 39.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/7.149, allocations: 171.8 kB / 3.583 GB, free: 39.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/7.15, allocations: 215.3 kB / 3.583 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/7.15, allocations: 19.98 kB / 3.583 GB, free: 39.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/7.153, allocations: 4.01 MB / 3.587 GB, free: 34.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/7.153, allocations: 3.938 kB / 3.587 GB, free: 34.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/7.156, allocations: 2.288 MB / 3.589 GB, free: 32.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/7.157, allocations: 0.6184 MB / 3.59 GB, free: 31.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/7.158, allocations: 31.94 kB / 3.59 GB, free: 31.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/7.159, allocations: 99.75 kB / 3.59 GB, free: 31.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/7.159, allocations: 105.2 kB / 3.59 GB, free: 31.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/7.159, allocations: 39.98 kB / 3.59 GB, free: 31.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002934/7.162, allocations: 2.63 MB / 3.592 GB, free: 28.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/7.162, allocations: 0 / 3.592 GB, free: 28.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002112/7.164, allocations: 0.7174 MB / 3.593 GB, free: 28.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/7.167, allocations: 1.839 MB / 3.595 GB, free: 26.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001837/7.168, allocations: 1.319 MB / 3.596 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/7.168, allocations: 0 / 3.596 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009848/7.169, allocations: 0.8307 MB / 3.597 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/7.172, allocations: 0.5211 MB / 3.598 GB, free: 23.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/7.18, allocations: 4.959 MB / 3.602 GB, free: 18.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/7.181, allocations: 1.981 MB / 3.604 GB, free: 16.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001411/7.183, allocations: 422.1 kB / 3.605 GB, free: 16.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/7.183, allocations: 155.3 kB / 3.605 GB, free: 16.38 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/7.183, allocations: 0 / 3.605 GB, free: 16.38 MB / 0.698 GB Notification: Performance of Templates: time 0.3979/7.581, allocations: 33.03 MB / 3.637 GB, free: 123.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)