Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001927/0.001927, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002292/0.002292, allocations: 196 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.637/2.637, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.451/5.451, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 64 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5354, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.3046/0.8401, allocations: 154.6 MB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04874/0.8889, allocations: 21.51 MB / 1.224 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.8928, allocations: 47.69 kB / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.8961, allocations: 1.126 MB / 1.226 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.8997, allocations: 0.8138 MB / 1.226 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.9028, allocations: 382 kB / 1.227 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003539/0.9063, allocations: 1.255 MB / 1.228 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.9085, allocations: 0.6911 MB / 1.229 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.9106, allocations: 0.5567 MB / 1.229 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.913, allocations: 0.9528 MB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.9134, allocations: 68 kB / 1.23 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.9142, allocations: 112 kB / 1.23 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.9148, allocations: 336.7 kB / 1.231 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.9164, allocations: 492.8 kB / 1.231 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.919, allocations: 1.176 MB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.919, allocations: 3.938 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.067e-06/0.919, allocations: 0 / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.979e-05/0.9191, allocations: 0 / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005414/0.9246, allocations: 1.475 MB / 1.234 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/0.9247, allocations: 16.61 kB / 1.234 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.925, allocations: 82.72 kB / 1.234 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.9254, allocations: 135.3 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.9272, allocations: 0.6587 MB / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.9275, allocations: 74.69 kB / 1.235 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.9276, allocations: 40 kB / 1.235 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.9294, allocations: 0.5223 MB / 1.235 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.9294, allocations: 8 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.9295, allocations: 27.86 kB / 1.235 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.9296, allocations: 8 kB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.931, allocations: 411.7 kB / 1.236 GB, free: 12.34 MB / 0.9981 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.006622/0.9376, allocations: 2.735 MB / 1.238 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.9392, allocations: 435.6 kB / 1.239 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.9403, allocations: 313.3 kB / 1.239 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.9404, allocations: 5.031 kB / 1.239 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009014/0.9413, allocations: 287 kB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 5.971e-06/0.9413, allocations: 0 / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.004276/0.9456, allocations: 1.148 MB / 1.24 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/0.9457, allocations: 63.34 kB / 1.24 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.9496, allocations: 1.768 MB / 1.242 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9497, allocations: 37.7 kB / 1.242 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008698/0.9506, allocations: 0.5211 MB / 1.243 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.9509, allocations: 145.9 kB / 1.243 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.9512, allocations: 102.2 kB / 1.243 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.9514, allocations: 330 kB / 1.243 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.9522, allocations: 209 kB / 1.243 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/0.9531, allocations: 335.2 kB / 1.244 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.9547, allocations: 0.5146 MB / 1.244 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.9548, allocations: 0 / 1.244 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002702/0.9575, allocations: 0.8102 MB / 1.245 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.9575, allocations: 8 kB / 1.245 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9576, allocations: 4 kB / 1.245 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/0.9583, allocations: 137 kB / 1.245 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.9589, allocations: 103.8 kB / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022/1.981, allocations: 2.596 MB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.983, allocations: 84.16 kB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.983, allocations: 20.78 kB / 1.248 GB, free: 194.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001747/1.985, allocations: 389.3 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/1.986, allocations: 121.1 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/1.987, allocations: 141.4 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.987, allocations: 4.094 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/1.987, allocations: 3.703 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.987, allocations: 6.203 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/1.993, allocations: 1.488 MB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.993, allocations: 4.688 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/1.994, allocations: 45.88 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008913/1.994, allocations: 164 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/1.995, allocations: 14.11 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006265/2.001, allocations: 4.037 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.001, allocations: 0 / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/2.004, allocations: 0.985 MB / 1.255 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/2.005, allocations: 208.6 kB / 1.255 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/2.005, allocations: 17.5 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/2.006, allocations: 37.61 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/2.006, allocations: 50.62 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/2.006, allocations: 15.81 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003686/2.01, allocations: 1.287 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/2.01, allocations: 1.625 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001975/2.012, allocations: 202.4 kB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005882/2.018, allocations: 1.925 MB / 1.259 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002955/2.021, allocations: 0.6919 MB / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/2.021, allocations: 0 / 1.259 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/2.023, allocations: 0.5164 MB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/2.025, allocations: 202.3 kB / 1.26 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03491/2.06, allocations: 9.348 MB / 1.269 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/2.063, allocations: 1.149 MB / 1.27 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001221/2.065, allocations: 92.91 kB / 1.27 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/2.066, allocations: 405.9 kB / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.094e-06/2.066, allocations: 0 / 1.271 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1867/2.253, allocations: 20.17 MB / 1.291 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/2.253, allocations: 286.5 kB / 1.291 GB, free: 178 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/6.822, allocations: 3.516 kB / 1.291 GB, free: 178 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)