Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006535/0.006535, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001781/0.001781, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.464/2.464, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 60.12 kB / 1.083 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6014, allocations: 162.3 MB / 1.242 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1537/0.7551, allocations: 158.4 MB / 1.396 GB, free: 2.16 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.7778, allocations: 22.25 MB / 1.418 GB, free: 11.85 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.7791, allocations: 67.62 kB / 1.418 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.7813, allocations: 1.968 MB / 1.42 GB, free: 9.809 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.7829, allocations: 1.331 MB / 1.421 GB, free: 8.473 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.7842, allocations: 0.6882 MB / 1.422 GB, free: 7.789 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.7859, allocations: 1.962 MB / 1.424 GB, free: 5.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.7871, allocations: 1.144 MB / 1.425 GB, free: 4.652 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000897/0.788, allocations: 0.8918 MB / 1.426 GB, free: 3.758 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.7895, allocations: 1.448 MB / 1.427 GB, free: 2.305 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.7897, allocations: 104 kB / 1.428 GB, free: 2.203 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.79, allocations: 160 kB / 1.428 GB, free: 2.047 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.7904, allocations: 0.5195 MB / 1.428 GB, free: 1.527 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.791, allocations: 0.8224 MB / 1.429 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.7929, allocations: 1.986 MB / 1.431 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.7929, allocations: 0 / 1.431 GB, free: 14.7 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7929, allocations: 0 / 1.431 GB, free: 14.7 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.7929, allocations: 4 kB / 1.431 GB, free: 14.7 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003247/0.7962, allocations: 2.465 MB / 1.433 GB, free: 12.18 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7962, allocations: 12.02 kB / 1.433 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.7964, allocations: 127 kB / 1.434 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.7967, allocations: 259.3 kB / 1.434 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.798, allocations: 1.076 MB / 1.435 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.7982, allocations: 103.7 kB / 1.435 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.7983, allocations: 83.98 kB / 1.435 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.7997, allocations: 0.8651 MB / 1.436 GB, free: 9.551 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7997, allocations: 0 / 1.436 GB, free: 9.551 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.7998, allocations: 32 kB / 1.436 GB, free: 9.52 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.7998, allocations: 20 kB / 1.436 GB, free: 9.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.8011, allocations: 0.6518 MB / 1.437 GB, free: 8.844 MB / 1.154 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.004807/0.8059, allocations: 4.17 MB / 1.441 GB, free: 4.367 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.8073, allocations: 0.7066 MB / 1.441 GB, free: 3.652 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.8081, allocations: 415.2 kB / 1.442 GB, free: 3.246 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.8081, allocations: 12.66 kB / 1.442 GB, free: 3.234 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/0.8089, allocations: 436.2 kB / 1.442 GB, free: 2.797 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.064e-06/0.8089, allocations: 3.938 kB / 1.442 GB, free: 2.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.005659/0.8146, allocations: 2.108 MB / 1.444 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.8147, allocations: 93.75 kB / 1.444 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.8178, allocations: 3.196 MB / 1.447 GB, free: 13.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.8178, allocations: 49.7 kB / 1.447 GB, free: 13.25 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/0.8186, allocations: 0.9722 MB / 1.448 GB, free: 12.27 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.8188, allocations: 265.8 kB / 1.449 GB, free: 12 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.819, allocations: 150.7 kB / 1.449 GB, free: 11.85 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8192, allocations: 337.9 kB / 1.449 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.8198, allocations: 317.8 kB / 1.449 GB, free: 11.2 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/0.8206, allocations: 465.3 kB / 1.45 GB, free: 10.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.8219, allocations: 0.7382 MB / 1.451 GB, free: 9.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8219, allocations: 4 kB / 1.451 GB, free: 9.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002212/0.8241, allocations: 1.247 MB / 1.452 GB, free: 8.648 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8242, allocations: 6.031 kB / 1.452 GB, free: 8.645 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8242, allocations: 4 kB / 1.452 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008852/0.8251, allocations: 327.8 kB / 1.452 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.8255, allocations: 127.8 kB / 1.452 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.8311, allocations: 4.06 MB / 1.456 GB, free: 4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.8317, allocations: 115.3 kB / 1.456 GB, free: 3.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.8317, allocations: 28 kB / 1.456 GB, free: 3.859 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0006509/0.8324, allocations: 0.5834 MB / 1.457 GB, free: 3.266 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.8326, allocations: 222.5 kB / 1.457 GB, free: 3.047 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.8329, allocations: 249.5 kB / 1.457 GB, free: 2.797 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.833, allocations: 8 kB / 1.457 GB, free: 2.789 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.833, allocations: 0 / 1.457 GB, free: 2.789 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.833, allocations: 3.984 kB / 1.457 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.8365, allocations: 2.421 MB / 1.46 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8366, allocations: 0 / 1.46 GB, free: 308 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.8369, allocations: 67.89 kB / 1.46 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008453/0.8377, allocations: 342.2 kB / 1.46 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.8378, allocations: 15.98 kB / 1.46 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/0.8443, allocations: 5.555 MB / 1.466 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8443, allocations: 3.938 kB / 1.466 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.847, allocations: 1.582 MB / 1.467 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.8474, allocations: 327.5 kB / 1.467 GB, free: 8.098 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.8475, allocations: 27.92 kB / 1.467 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.8479, allocations: 39.95 kB / 1.468 GB, free: 8.031 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.8481, allocations: 104.5 kB / 1.468 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.8482, allocations: 31.92 kB / 1.468 GB, free: 7.898 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002289/0.8505, allocations: 2.337 MB / 1.47 GB, free: 5.547 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8505, allocations: 0 / 1.47 GB, free: 5.547 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008019/0.8513, allocations: 319.5 kB / 1.47 GB, free: 5.234 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004429/0.8557, allocations: 2.537 MB / 1.473 GB, free: 2.852 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.8576, allocations: 1.034 MB / 1.474 GB, free: 1.801 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8577, allocations: 0.5 kB / 1.474 GB, free: 1.801 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.859, allocations: 0.7773 MB / 1.474 GB, free: 1 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.8602, allocations: 302.7 kB / 1.475 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/0.8782, allocations: 13.91 MB / 1.488 GB, free: 2.527 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.8794, allocations: 1.536 MB / 1.49 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003711/0.8798, allocations: 123.2 kB / 1.49 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008063/0.8806, allocations: 0.7688 MB / 1.491 GB, free: 68 kB / 1.201 GB Notification: Performance of SimCode: time 9.22e-07/0.8806, allocations: 0 / 1.491 GB, free: 68 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6497/1.53, allocations: 35.99 MB / 1.526 GB, free: 12.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/17.34, allocations: 2.5 kB / 1.526 GB, free: 12.5 MB / 1.248 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-07 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)