Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001806/0.001806, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002599/0.002599, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.601/2.601, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.2/5.2, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 62.39 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6249, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3475/0.9726, allocations: 154.6 MB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0562/1.029, allocations: 21.51 MB / 1.224 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/1.034, allocations: 47.75 kB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003807/1.038, allocations: 1.122 MB / 1.226 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004021/1.042, allocations: 0.8216 MB / 1.226 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/1.045, allocations: 378.4 kB / 1.227 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003339/1.048, allocations: 1.259 MB / 1.228 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/1.05, allocations: 0.695 MB / 1.229 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/1.052, allocations: 0.5529 MB / 1.229 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/1.055, allocations: 0.9528 MB / 1.23 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003301/1.055, allocations: 68 kB / 1.23 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/1.056, allocations: 112 kB / 1.23 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006174/1.056, allocations: 328.7 kB / 1.231 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/1.058, allocations: 496.8 kB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002312/1.06, allocations: 1.176 MB / 1.232 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/1.06, allocations: 4 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.945e-06/1.06, allocations: 3.938 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.639e-05/1.06, 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.004115/1.064, allocations: 1.48 MB / 1.234 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/1.064, allocations: 8.625 kB / 1.234 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/1.064, allocations: 90.64 kB / 1.234 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/1.065, allocations: 131.3 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.066, allocations: 0.6586 MB / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/1.066, allocations: 74.69 kB / 1.235 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.067, allocations: 48 kB / 1.235 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/1.068, allocations: 0.5184 MB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/1.068, allocations: 0 / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/1.068, allocations: 20 kB / 1.235 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/1.068, allocations: 11.94 kB / 1.235 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/1.07, allocations: 419.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.007074/1.077, allocations: 2.803 MB / 1.238 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.079, allocations: 457.5 kB / 1.239 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009822/1.08, allocations: 281.4 kB / 1.239 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/1.08, allocations: 8.594 kB / 1.239 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009791/1.081, allocations: 302.1 kB / 1.239 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 4.708e-06/1.081, allocations: 4 kB / 1.239 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.005354/1.086, allocations: 1.241 MB / 1.241 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/1.086, allocations: 59.41 kB / 1.241 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003838/1.09, allocations: 1.748 MB / 1.242 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.09, allocations: 37.7 kB / 1.242 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/1.091, allocations: 0.5179 MB / 1.243 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/1.091, allocations: 146 kB / 1.243 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/1.092, allocations: 98.23 kB / 1.243 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.092, allocations: 326 kB / 1.243 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/1.093, allocations: 217 kB / 1.244 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.094, allocations: 328.9 kB / 1.244 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.096, allocations: 0.5097 MB / 1.244 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.096, allocations: 3.938 kB / 1.244 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003231/1.099, allocations: 0.8498 MB / 1.245 GB, free: 2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.099, allocations: 4 kB / 1.245 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.099, allocations: 4 kB / 1.245 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/1.1, allocations: 186.6 kB / 1.245 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/1.101, allocations: 99.8 kB / 1.245 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315/2.415, allocations: 2.982 MB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/2.417, allocations: 85.11 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/2.417, allocations: 25.19 kB / 1.248 GB, free: 194.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001402/2.418, allocations: 386.1 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/2.419, allocations: 116.9 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/2.419, allocations: 140.3 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/2.419, allocations: 5.844 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.621e-05/2.419, allocations: 5.906 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/2.419, allocations: 1.969 kB / 1.249 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/2.424, allocations: 1.565 MB / 1.251 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/2.424, allocations: 0 / 1.251 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/2.424, allocations: 47.64 kB / 1.251 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/2.425, allocations: 205.6 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/2.425, allocations: 8.359 kB / 1.251 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/2.432, allocations: 4.555 MB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.432, allocations: 0 / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003019/2.435, allocations: 1.054 MB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/2.435, allocations: 226.4 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/2.436, allocations: 10.09 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/2.436, allocations: 35.28 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/2.436, allocations: 55.5 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/2.436, allocations: 22.5 kB / 1.257 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002413/2.439, allocations: 1.28 MB / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/2.439, allocations: 0 / 1.258 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00158/2.44, allocations: 208.7 kB / 1.258 GB, free: 190.8 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,13,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.005384/2.446, allocations: 1.985 MB / 1.26 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002884/2.449, allocations: 0.7534 MB / 1.261 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/2.449, allocations: 0 / 1.261 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/2.45, allocations: 0.5442 MB / 1.261 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/2.452, allocations: 202.8 kB / 1.262 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/2.483, allocations: 9.417 MB / 1.271 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/2.485, allocations: 1.153 MB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007251/2.486, allocations: 91.14 kB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/2.487, allocations: 404.9 kB / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/2.487, allocations: 0 / 1.272 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2567/2.743, allocations: 20.57 MB / 1.292 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/2.744, allocations: 294 kB / 1.293 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.61/7.353, allocations: 0 / 1.293 GB, free: 177.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)