Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TestCase1,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.09 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.826, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1887/1.015, allocations: 157.3 MB / 1.422 GB, free: 7.281 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03135/1.046, allocations: 21.82 MB / 1.444 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/1.048, allocations: 51.75 kB / 1.444 GB, free: 1.352 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/1.05, allocations: 1.165 MB / 1.445 GB, free: 188 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001981/1.052, allocations: 0.868 MB / 1.446 GB, free: 15.31 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/1.054, allocations: 441.9 kB / 1.446 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002047/1.056, allocations: 1.263 MB / 1.447 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/1.057, allocations: 0.562 MB / 1.448 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/1.058, allocations: 0.5608 MB / 1.448 GB, free: 12.49 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/1.06, allocations: 0.9956 MB / 1.449 GB, free: 11.49 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/1.06, allocations: 68 kB / 1.449 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/1.061, allocations: 112 kB / 1.45 GB, free: 11.31 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/1.061, allocations: 320.7 kB / 1.45 GB, free: 11 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006911/1.062, allocations: 488.8 kB / 1.45 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/1.063, allocations: 1.217 MB / 1.452 GB, free: 9.297 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.063, allocations: 0 / 1.452 GB, free: 9.297 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/1.063, allocations: 0 / 1.452 GB, free: 9.297 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.564e-05/1.063, allocations: 0 / 1.452 GB, free: 9.297 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003174/1.067, allocations: 1.521 MB / 1.453 GB, free: 7.723 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.067, allocations: 8.031 kB / 1.453 GB, free: 7.715 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/1.067, allocations: 86.7 kB / 1.453 GB, free: 7.621 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/1.067, allocations: 144 kB / 1.453 GB, free: 7.48 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.068, allocations: 0.6676 MB / 1.454 GB, free: 6.758 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/1.069, allocations: 74.67 kB / 1.454 GB, free: 6.68 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.069, allocations: 48 kB / 1.454 GB, free: 6.633 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.07, allocations: 0.5184 MB / 1.455 GB, free: 6.102 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.07, allocations: 7.953 kB / 1.455 GB, free: 6.094 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/1.07, allocations: 20 kB / 1.455 GB, free: 6.074 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/1.07, allocations: 8 kB / 1.455 GB, free: 6.066 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/1.071, allocations: 411.7 kB / 1.455 GB, free: 5.664 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.004408/1.075, allocations: 2.732 MB / 1.458 GB, free: 2.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.076, allocations: 419.7 kB / 1.458 GB, free: 2.277 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/1.077, allocations: 286.8 kB / 1.458 GB, free: 1.996 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/1.077, allocations: 4.328 kB / 1.458 GB, free: 1.992 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/1.078, allocations: 283.9 kB / 1.459 GB, free: 1.703 MB / 1.154 GB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/1.078, allocations: 7.938 kB / 1.459 GB, free: 1.695 MB / 1.154 GB Notification: Performance of matching and sorting (n=44): time 0.002931/1.081, allocations: 1.149 MB / 1.46 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.081, allocations: 59.41 kB / 1.46 GB, free: 436 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.083, allocations: 1.764 MB / 1.461 GB, free: 14.65 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/1.083, allocations: 37.7 kB / 1.462 GB, free: 14.61 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/1.084, allocations: 0.5254 MB / 1.462 GB, free: 14.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/1.084, allocations: 154.7 kB / 1.462 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.084, allocations: 102.2 kB / 1.462 GB, free: 13.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.084, allocations: 330 kB / 1.463 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/1.085, allocations: 209 kB / 1.463 GB, free: 13.29 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/1.085, allocations: 339.1 kB / 1.463 GB, free: 12.91 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.086, allocations: 0.523 MB / 1.464 GB, free: 12.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.086, allocations: 7.938 kB / 1.464 GB, free: 12.33 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001775/1.088, allocations: 0.8017 MB / 1.464 GB, free: 11.52 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.088, allocations: 8 kB / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.088, allocations: 4 kB / 1.464 GB, free: 11.51 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/1.088, allocations: 129 kB / 1.465 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/1.089, allocations: 107.8 kB / 1.465 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/1.092, allocations: 2.594 MB / 1.467 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/1.093, allocations: 83.58 kB / 1.467 GB, free: 8.465 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/1.093, allocations: 20 kB / 1.467 GB, free: 8.445 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: 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.0005966/1.093, allocations: 397.6 kB / 1.468 GB, free: 8.047 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.094, allocations: 123.1 kB / 1.468 GB, free: 7.926 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/1.094, allocations: 147.7 kB / 1.468 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.094, allocations: 12 kB / 1.468 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.094, allocations: 0 / 1.468 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.094, allocations: 4 kB / 1.468 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/1.097, allocations: 1.482 MB / 1.469 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.097, allocations: 0 / 1.469 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/1.097, allocations: 47.95 kB / 1.469 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/1.097, allocations: 165.5 kB / 1.47 GB, free: 6.004 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/1.097, allocations: 8 kB / 1.47 GB, free: 5.996 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/1.102, allocations: 4.032 MB / 1.474 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.102, allocations: 0 / 1.474 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.104, allocations: 0.9898 MB / 1.474 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/1.104, allocations: 220.2 kB / 1.475 GB, free: 452 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.104, allocations: 8 kB / 1.475 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/1.104, allocations: 35.91 kB / 1.475 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.105, allocations: 55.86 kB / 1.475 GB, free: 352 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/1.105, allocations: 19.98 kB / 1.475 GB, free: 332 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001633/1.106, allocations: 1.285 MB / 1.476 GB, free: 15.03 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.106, allocations: 0 / 1.476 GB, free: 15.03 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008471/1.107, allocations: 195.7 kB / 1.476 GB, free: 14.84 MB / 1.186 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.003919/1.111, allocations: 1.908 MB / 1.478 GB, free: 13.1 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.113, allocations: 0.6439 MB / 1.479 GB, free: 12.44 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.113, allocations: 3.938 kB / 1.479 GB, free: 12.44 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009622/1.114, allocations: 0.5246 MB / 1.479 GB, free: 11.89 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.115, allocations: 196.1 kB / 1.479 GB, free: 11.71 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.129, allocations: 8.526 MB / 1.488 GB, free: 2.949 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.13, allocations: 1.153 MB / 1.489 GB, free: 1.766 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000398/1.131, allocations: 100.8 kB / 1.489 GB, free: 1.668 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/1.131, allocations: 407.3 kB / 1.489 GB, free: 1.273 MB / 1.186 GB Notification: Performance of SimCode: time 1.453e-06/1.131, allocations: 0 / 1.489 GB, free: 1.273 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/1.197, allocations: 20.97 MB / 1.51 GB, free: 12.57 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.21, allocations: 10.2 kB / 1.51 GB, free: 12.56 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: 22.97598580410704]