Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 108 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.391/3.391, allocations: 0.49 GB / 0.7916 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 68.97 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1991/0.5468, allocations: 160.3 MB / 1.477 GB, free: 2.445 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03048/0.5773, allocations: 21.88 MB / 1.499 GB, free: 12.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.5797, allocations: 71.44 kB / 1.499 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.582, allocations: 1.173 MB / 1.5 GB, free: 11.26 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.5842, allocations: 0.9107 MB / 1.501 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.5855, allocations: 378.9 kB / 1.501 GB, free: 9.973 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.5876, allocations: 1.282 MB / 1.502 GB, free: 8.684 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.5888, allocations: 0.566 MB / 1.503 GB, free: 8.109 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.59, allocations: 0.5724 MB / 1.504 GB, free: 7.535 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5916, allocations: 0.9995 MB / 1.505 GB, free: 6.531 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.5919, allocations: 68 kB / 1.505 GB, free: 6.465 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.5923, allocations: 116 kB / 1.505 GB, free: 6.352 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.5927, allocations: 328.6 kB / 1.505 GB, free: 6.031 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007716/0.5935, allocations: 496.8 kB / 1.505 GB, free: 5.543 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.5953, allocations: 1.221 MB / 1.507 GB, free: 4.316 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5953, allocations: 4 kB / 1.507 GB, free: 4.312 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5953, allocations: 0 / 1.507 GB, free: 4.312 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.838e-05/0.5954, allocations: 0 / 1.507 GB, free: 4.312 MB / 1.201 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.00317/0.5986, allocations: 1.532 MB / 1.508 GB, free: 2.727 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5986, allocations: 15.98 kB / 1.508 GB, free: 2.711 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.5987, allocations: 82.72 kB / 1.508 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.599, allocations: 144 kB / 1.508 GB, free: 2.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6001, allocations: 0.6796 MB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.6003, allocations: 74.69 kB / 1.509 GB, free: 1.672 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6004, allocations: 48 kB / 1.509 GB, free: 1.625 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6015, allocations: 0.5184 MB / 1.51 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.6015, allocations: 3.984 kB / 1.51 GB, free: 1.086 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.6016, allocations: 20 kB / 1.51 GB, free: 1.066 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.6016, allocations: 12 kB / 1.51 GB, free: 1.055 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6026, allocations: 415.7 kB / 1.51 GB, free: 0.6523 MB / 1.201 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.004779/0.6074, allocations: 2.808 MB / 1.513 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.6086, allocations: 427.4 kB / 1.513 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.6093, allocations: 267.1 kB / 1.514 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.6093, allocations: 8.328 kB / 1.514 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/0.61, allocations: 298.7 kB / 1.514 GB, free: 12.6 MB / 1.217 GB Notification: Performance of pre-optimization done (n=45): time 3.166e-06/0.61, allocations: 0 / 1.514 GB, free: 12.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003467/0.6135, allocations: 1.245 MB / 1.515 GB, free: 11.3 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.6135, allocations: 59.41 kB / 1.515 GB, free: 11.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.6159, allocations: 1.773 MB / 1.517 GB, free: 9.453 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.571e-05/0.616, allocations: 37.7 kB / 1.517 GB, free: 9.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.6165, allocations: 0.5262 MB / 1.517 GB, free: 8.879 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.6167, allocations: 147.2 kB / 1.518 GB, free: 8.734 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.6169, allocations: 98.2 kB / 1.518 GB, free: 8.633 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6171, allocations: 326 kB / 1.518 GB, free: 8.309 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.6177, allocations: 225 kB / 1.518 GB, free: 8.09 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/0.6183, allocations: 324.8 kB / 1.518 GB, free: 7.727 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6194, allocations: 0.5094 MB / 1.519 GB, free: 7.18 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6194, allocations: 3.938 kB / 1.519 GB, free: 7.176 MB / 1.217 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001955/0.6213, allocations: 0.8481 MB / 1.52 GB, free: 6.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.6214, allocations: 11.98 kB / 1.52 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6214, allocations: 0 / 1.52 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.622, allocations: 180.8 kB / 1.52 GB, free: 6.129 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.6224, allocations: 95.94 kB / 1.52 GB, free: 6.035 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.6268, allocations: 3.002 MB / 1.523 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.6274, allocations: 79.58 kB / 1.523 GB, free: 2.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.6274, allocations: 23.94 kB / 1.523 GB, free: 2.801 MB / 1.217 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.0006125/0.628, allocations: 401.6 kB / 1.523 GB, free: 2.398 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.6282, allocations: 119.2 kB / 1.524 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.6286, allocations: 143.9 kB / 1.524 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6286, allocations: 4 kB / 1.524 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.6286, allocations: 4 kB / 1.524 GB, free: 2.129 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6286, allocations: 0 / 1.524 GB, free: 2.129 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.6316, allocations: 1.572 MB / 1.525 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6316, allocations: 0 / 1.525 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.6319, allocations: 47.97 kB / 1.525 GB, free: 460 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.6324, allocations: 189.6 kB / 1.525 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.6325, allocations: 11.98 kB / 1.525 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.638, allocations: 4.563 MB / 1.53 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.638, allocations: 0 / 1.53 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.6406, allocations: 1.059 MB / 1.531 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.6411, allocations: 228.1 kB / 1.531 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.6414, allocations: 12 kB / 1.531 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.6418, allocations: 27.97 kB / 1.531 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.642, allocations: 55.92 kB / 1.531 GB, free: 9.992 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.6421, allocations: 15.98 kB / 1.531 GB, free: 9.977 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00237/0.6444, allocations: 1.297 MB / 1.533 GB, free: 8.676 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6444, allocations: 0 / 1.533 GB, free: 8.676 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001346/0.6458, allocations: 207.7 kB / 1.533 GB, free: 8.473 MB / 1.232 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.004635/0.6504, allocations: 1.979 MB / 1.535 GB, free: 6.652 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.6522, allocations: 0.6877 MB / 1.535 GB, free: 5.953 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6522, allocations: 3.938 kB / 1.535 GB, free: 5.949 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.6533, allocations: 0.5438 MB / 1.536 GB, free: 5.379 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6544, allocations: 202.1 kB / 1.536 GB, free: 5.188 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.6695, allocations: 8.684 MB / 1.545 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6705, allocations: 1.153 MB / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003405/0.6708, allocations: 84.8 kB / 1.546 GB, free: 11.03 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/0.6714, allocations: 415.3 kB / 1.546 GB, free: 10.62 MB / 1.248 GB Notification: Performance of SimCode: time 7.42e-07/0.6714, allocations: 0 / 1.546 GB, free: 10.62 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06617/0.7376, allocations: 21.55 MB / 1.567 GB, free: 5.312 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.14, allocations: 0 / 1.567 GB, free: 5.312 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.886431281920522]