Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_10_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.004473/0.004473, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001213/0.001213, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6918, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1717/0.8635, allocations: 156.8 MB / 1.319 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0264/0.89, allocations: 21.74 MB / 1.34 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.8916, allocations: 59.69 kB / 1.341 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.8933, allocations: 1.169 MB / 1.342 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.8946, allocations: 0.8562 MB / 1.343 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.8957, allocations: 444.3 kB / 1.343 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.897, allocations: 1.247 MB / 1.344 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.8978, allocations: 0.683 MB / 1.345 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.8985, allocations: 0.5529 MB / 1.345 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.8995, allocations: 0.9099 MB / 1.346 GB, free: 10.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.8997, allocations: 68 kB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.8999, allocations: 111.9 kB / 1.346 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.9002, allocations: 316.7 kB / 1.347 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.9006, allocations: 496.8 kB / 1.347 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.9019, allocations: 1.209 MB / 1.348 GB, free: 8.461 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9019, allocations: 0 / 1.348 GB, free: 8.461 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9019, allocations: 0 / 1.348 GB, free: 8.461 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.9019, allocations: 0 / 1.348 GB, free: 8.461 MB / 1.076 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.002282/0.9042, allocations: 1.525 MB / 1.35 GB, free: 6.883 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9043, allocations: 8.922 kB / 1.35 GB, free: 6.875 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.9044, allocations: 98.62 kB / 1.35 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.9046, allocations: 140 kB / 1.35 GB, free: 6.633 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.9054, allocations: 0.6677 MB / 1.351 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.9056, allocations: 78.61 kB / 1.351 GB, free: 5.828 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.9057, allocations: 51.94 kB / 1.351 GB, free: 5.777 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.9066, allocations: 0.5184 MB / 1.351 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.9066, allocations: 0 / 1.351 GB, free: 5.246 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.9067, allocations: 20 kB / 1.351 GB, free: 5.227 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.9067, allocations: 8 kB / 1.351 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.9076, allocations: 415.7 kB / 1.352 GB, free: 4.812 MB / 1.076 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.00357/0.9112, allocations: 2.724 MB / 1.354 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/0.9122, allocations: 436.6 kB / 1.355 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.9129, allocations: 306.9 kB / 1.355 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.9129, allocations: 16.25 kB / 1.355 GB, free: 1.105 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.9135, allocations: 275.8 kB / 1.355 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 1.744e-06/0.9135, allocations: 0 / 1.355 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002765/0.9162, allocations: 1.169 MB / 1.357 GB, free: 15.61 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.9163, allocations: 59.41 kB / 1.357 GB, free: 15.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.9182, allocations: 1.76 MB / 1.358 GB, free: 13.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.9183, allocations: 37.7 kB / 1.358 GB, free: 13.72 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.9187, allocations: 0.5253 MB / 1.359 GB, free: 13.19 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.9189, allocations: 154.7 kB / 1.359 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.919, allocations: 106.2 kB / 1.359 GB, free: 12.93 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9192, allocations: 333.9 kB / 1.359 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.9197, allocations: 213 kB / 1.36 GB, free: 12.39 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.9203, allocations: 331.2 kB / 1.36 GB, free: 12.02 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.9212, allocations: 0.5197 MB / 1.361 GB, free: 11.45 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9212, allocations: 0 / 1.361 GB, free: 11.45 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001564/0.9228, allocations: 0.8102 MB / 1.361 GB, free: 10.63 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9228, allocations: 12.03 kB / 1.361 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9229, allocations: 4 kB / 1.361 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.9233, allocations: 128.8 kB / 1.361 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.9237, allocations: 107.8 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.9266, allocations: 2.595 MB / 1.364 GB, free: 7.656 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.9271, allocations: 79.64 kB / 1.364 GB, free: 7.578 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.9271, allocations: 24 kB / 1.364 GB, free: 7.555 MB / 1.092 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.0004739/0.9276, allocations: 384.4 kB / 1.365 GB, free: 7.172 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.9277, allocations: 127.1 kB / 1.365 GB, free: 7.047 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.928, allocations: 147.7 kB / 1.365 GB, free: 6.898 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.928, allocations: 7.938 kB / 1.365 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.928, allocations: 0 / 1.365 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.928, allocations: 8 kB / 1.365 GB, free: 6.883 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.9304, allocations: 1.481 MB / 1.366 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.9304, allocations: 3.984 kB / 1.366 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.9306, allocations: 43.91 kB / 1.366 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.931, allocations: 170.9 kB / 1.366 GB, free: 5.121 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.9311, allocations: 8 kB / 1.366 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.935, allocations: 4.029 MB / 1.37 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.935, allocations: 4 kB / 1.37 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.9369, allocations: 0.9976 MB / 1.371 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.9371, allocations: 220.2 kB / 1.372 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.9372, allocations: 12 kB / 1.372 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.9376, allocations: 27.97 kB / 1.372 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.9377, allocations: 55.86 kB / 1.372 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.9377, allocations: 19.98 kB / 1.372 GB, free: 15.43 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001452/0.9392, allocations: 1.285 MB / 1.373 GB, free: 14.14 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9392, allocations: 0 / 1.373 GB, free: 14.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007263/0.9399, allocations: 195.7 kB / 1.373 GB, free: 13.95 MB / 1.107 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.003754/0.9437, allocations: 1.92 MB / 1.375 GB, free: 12.19 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.9452, allocations: 0.6745 MB / 1.376 GB, free: 11.5 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9452, allocations: 0 / 1.376 GB, free: 11.5 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.946, allocations: 0.5282 MB / 1.376 GB, free: 10.95 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.947, allocations: 206.6 kB / 1.376 GB, free: 10.75 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.9591, allocations: 8.545 MB / 1.385 GB, free: 1.973 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/0.96, allocations: 1.149 MB / 1.386 GB, free: 0.793 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.9603, allocations: 92.78 kB / 1.386 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.9608, allocations: 403.3 kB / 1.386 GB, free: 316 kB / 1.107 GB Notification: Performance of SimCode: time 3.21e-07/0.9608, allocations: 4 kB / 1.386 GB, free: 312 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.848/2.809, allocations: 20.85 MB / 1.407 GB, free: 11.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/20.53, allocations: 15.61 kB / 1.407 GB, free: 11.63 MB / 1.139 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)