Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, 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.001421/0.001421, 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.436/1.436, 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.748/2.748, allocations: 476.7 MB / 0.7611 GB, free: 11.36 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.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.88 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8645, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1909/1.055, allocations: 157.3 MB / 1.422 GB, free: 7.242 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03124/1.087, allocations: 21.82 MB / 1.444 GB, free: 1.359 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/1.089, allocations: 51.75 kB / 1.444 GB, free: 1.309 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/1.091, allocations: 1.165 MB / 1.445 GB, free: 144 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/1.093, allocations: 0.8641 MB / 1.446 GB, free: 15.27 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/1.095, allocations: 447.9 kB / 1.446 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001983/1.097, allocations: 1.263 MB / 1.447 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000842/1.098, allocations: 0.5581 MB / 1.448 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/1.099, allocations: 0.5608 MB / 1.448 GB, free: 12.45 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/1.1, allocations: 0.9956 MB / 1.449 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/1.1, allocations: 71.98 kB / 1.449 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/1.1, allocations: 108 kB / 1.45 GB, free: 11.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/1.101, allocations: 324.6 kB / 1.45 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/1.101, allocations: 480.9 kB / 1.45 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/1.103, allocations: 1.221 MB / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.103, allocations: 0 / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.034e-06/1.103, allocations: 0 / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.103, allocations: 3.938 kB / 1.452 GB, free: 9.25 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.002598/1.105, allocations: 1.513 MB / 1.453 GB, free: 7.684 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.105, allocations: 8.031 kB / 1.453 GB, free: 7.676 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/1.105, allocations: 86.7 kB / 1.453 GB, free: 7.582 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/1.106, allocations: 152 kB / 1.453 GB, free: 7.434 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.107, allocations: 0.6676 MB / 1.454 GB, free: 6.711 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.107, allocations: 74.69 kB / 1.454 GB, free: 6.633 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/1.107, allocations: 44 kB / 1.454 GB, free: 6.59 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.108, allocations: 0.5223 MB / 1.455 GB, free: 6.055 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.108, allocations: 11.94 kB / 1.455 GB, free: 6.043 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/1.108, allocations: 16 kB / 1.455 GB, free: 6.027 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.108, allocations: 8 kB / 1.455 GB, free: 6.02 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/1.109, allocations: 407.7 kB / 1.455 GB, free: 5.621 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.004145/1.113, allocations: 2.796 MB / 1.458 GB, free: 2.578 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.114, allocations: 435.8 kB / 1.458 GB, free: 2.145 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.115, allocations: 268.3 kB / 1.458 GB, free: 1.883 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/1.115, allocations: 4.328 kB / 1.458 GB, free: 1.879 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/1.115, allocations: 306.6 kB / 1.459 GB, free: 1.57 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 4.929e-06/1.115, allocations: 3.984 kB / 1.459 GB, free: 1.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003051/1.118, allocations: 1.238 MB / 1.46 GB, free: 284 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.118, allocations: 55.41 kB / 1.46 GB, free: 216 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/1.12, allocations: 1.752 MB / 1.462 GB, free: 14.45 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/1.121, allocations: 41.69 kB / 1.462 GB, free: 14.4 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/1.121, allocations: 0.5261 MB / 1.462 GB, free: 13.87 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.121, allocations: 150.8 kB / 1.462 GB, free: 13.72 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/1.121, allocations: 98.2 kB / 1.462 GB, free: 13.62 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.122, allocations: 326 kB / 1.463 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/1.122, allocations: 213 kB / 1.463 GB, free: 13.09 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.123, allocations: 328.9 kB / 1.463 GB, free: 12.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/1.124, allocations: 0.5152 MB / 1.464 GB, free: 12.18 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.124, allocations: 7.938 kB / 1.464 GB, free: 12.17 MB / 1.17 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001734/1.125, allocations: 0.8387 MB / 1.465 GB, free: 11.32 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.125, allocations: 4 kB / 1.465 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.125, allocations: 4 kB / 1.465 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/1.126, allocations: 188.8 kB / 1.465 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/1.126, allocations: 95.88 kB / 1.465 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/1.13, allocations: 3.007 MB / 1.468 GB, free: 7.895 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/1.131, allocations: 75.66 kB / 1.468 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/1.131, allocations: 23.98 kB / 1.468 GB, free: 7.797 MB / 1.17 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.0006114/1.131, allocations: 387.2 kB / 1.468 GB, free: 7.406 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.132, allocations: 123.1 kB / 1.468 GB, free: 7.285 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/1.132, allocations: 143.6 kB / 1.469 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.132, allocations: 8 kB / 1.469 GB, free: 7.129 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.132, allocations: 0 / 1.469 GB, free: 7.129 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.132, allocations: 7.984 kB / 1.469 GB, free: 7.121 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/1.135, allocations: 1.56 MB / 1.47 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.135, allocations: 0 / 1.47 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/1.135, allocations: 39.97 kB / 1.47 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/1.135, allocations: 201.5 kB / 1.47 GB, free: 5.262 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/1.135, allocations: 11.98 kB / 1.47 GB, free: 5.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005258/1.141, allocations: 4.559 MB / 1.475 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.141, allocations: 0 / 1.475 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.143, allocations: 1.048 MB / 1.476 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/1.143, allocations: 224.2 kB / 1.476 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.143, allocations: 15.98 kB / 1.476 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/1.144, allocations: 31.97 kB / 1.476 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.144, allocations: 56.09 kB / 1.476 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/1.144, allocations: 12 kB / 1.476 GB, free: 15 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001728/1.146, allocations: 1.281 MB / 1.477 GB, free: 13.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.146, allocations: 0 / 1.477 GB, free: 13.71 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009096/1.147, allocations: 203.8 kB / 1.478 GB, free: 13.51 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,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.004077/1.151, allocations: 1.99 MB / 1.479 GB, free: 11.69 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.152, allocations: 0.6918 MB / 1.48 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.152, allocations: 0 / 1.48 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/1.153, allocations: 0.5289 MB / 1.481 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.154, allocations: 204.6 kB / 1.481 GB, free: 10.24 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.17, allocations: 8.61 MB / 1.489 GB, free: 1.41 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.171, allocations: 1.157 MB / 1.49 GB, free: 228 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003817/1.171, allocations: 88.78 kB / 1.49 GB, free: 140 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/1.172, allocations: 403.4 kB / 1.491 GB, free: 15.74 MB / 1.201 GB Notification: Performance of SimCode: time 1.373e-06/1.172, allocations: 0 / 1.491 GB, free: 15.74 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06226/1.234, allocations: 21.36 MB / 1.512 GB, free: 10.65 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.62, allocations: 4.062 kB / 1.512 GB, free: 10.64 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: 24.505204887129366]