Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001849/0.001849, 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.002161/0.002161, 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.406/1.406, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7522, allocations: 160.7 MB / 1.213 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1925/0.9447, allocations: 157.3 MB / 1.367 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.9752, allocations: 21.82 MB / 1.388 GB, free: 4.438 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.9776, allocations: 47.75 kB / 1.388 GB, free: 4.391 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.9797, allocations: 1.18 MB / 1.389 GB, free: 3.207 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.9818, allocations: 0.8602 MB / 1.39 GB, free: 2.344 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.9832, allocations: 445.6 kB / 1.39 GB, free: 1.91 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.9852, allocations: 1.251 MB / 1.392 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.9863, allocations: 0.5582 MB / 1.392 GB, free: 96 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.9873, allocations: 0.5608 MB / 1.393 GB, free: 15.53 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.9888, allocations: 0.9956 MB / 1.394 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/0.9891, allocations: 67.94 kB / 1.394 GB, free: 14.47 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.9894, allocations: 112 kB / 1.394 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.9899, allocations: 320.7 kB / 1.394 GB, free: 14.04 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000686/0.9906, allocations: 492.9 kB / 1.395 GB, free: 13.56 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.9923, allocations: 1.206 MB / 1.396 GB, free: 12.35 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9923, allocations: 8 kB / 1.396 GB, free: 12.34 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9923, allocations: 0 / 1.396 GB, free: 12.34 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.93e-05/0.9923, allocations: 0 / 1.396 GB, free: 12.34 MB / 1.107 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.003072/0.9954, allocations: 1.521 MB / 1.397 GB, free: 10.77 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9955, allocations: 8.625 kB / 1.397 GB, free: 10.76 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.9956, allocations: 86.7 kB / 1.397 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.9958, allocations: 140 kB / 1.397 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.9969, allocations: 0.6793 MB / 1.398 GB, free: 9.797 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.9971, allocations: 70.69 kB / 1.398 GB, free: 9.719 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.9972, allocations: 44 kB / 1.398 GB, free: 9.676 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.9982, allocations: 0.5184 MB / 1.399 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.9982, allocations: 0 / 1.399 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.9983, allocations: 20 kB / 1.399 GB, free: 9.125 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.9983, allocations: 12 kB / 1.399 GB, free: 9.113 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.9991, allocations: 415.6 kB / 1.399 GB, free: 8.707 MB / 1.107 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.004047/1.003, allocations: 2.808 MB / 1.402 GB, free: 5.652 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.004, allocations: 425.8 kB / 1.402 GB, free: 5.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/1.005, allocations: 265.3 kB / 1.403 GB, free: 4.969 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/1.005, allocations: 4.328 kB / 1.403 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/1.005, allocations: 306.5 kB / 1.403 GB, free: 4.656 MB / 1.107 GB Notification: Performance of pre-optimization done (n=45): time 3.116e-06/1.005, allocations: 0 / 1.403 GB, free: 4.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003037/1.009, allocations: 1.239 MB / 1.404 GB, free: 3.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.009, allocations: 63.39 kB / 1.404 GB, free: 3.293 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/1.011, allocations: 1.748 MB / 1.406 GB, free: 1.535 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/1.011, allocations: 41.64 kB / 1.406 GB, free: 1.488 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/1.011, allocations: 0.5222 MB / 1.406 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.011, allocations: 154.8 kB / 1.406 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.011, allocations: 94.25 kB / 1.407 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.012, allocations: 326 kB / 1.407 GB, free: 396 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/1.012, allocations: 220.9 kB / 1.407 GB, free: 176 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/1.013, allocations: 328.9 kB / 1.407 GB, free: 15.81 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/1.014, allocations: 0.5189 MB / 1.408 GB, free: 15.26 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.014, allocations: 3.938 kB / 1.408 GB, free: 15.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001729/1.015, allocations: 0.8341 MB / 1.409 GB, free: 14.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.015, allocations: 10.66 kB / 1.409 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.015, allocations: 4 kB / 1.409 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/1.016, allocations: 192.7 kB / 1.409 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/1.016, allocations: 91.88 kB / 1.409 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/1.02, allocations: 3.008 MB / 1.412 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/1.021, allocations: 71.69 kB / 1.412 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/1.021, allocations: 20 kB / 1.412 GB, free: 10.89 MB / 1.123 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.0006355/1.022, allocations: 387.3 kB / 1.412 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.022, allocations: 127.1 kB / 1.413 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/1.022, allocations: 139.7 kB / 1.413 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.022, allocations: 7.984 kB / 1.413 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.022, allocations: 4 kB / 1.413 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.022, allocations: 0 / 1.413 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/1.025, allocations: 1.563 MB / 1.414 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.025, allocations: 0 / 1.414 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/1.025, allocations: 43.91 kB / 1.414 GB, free: 8.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/1.026, allocations: 189.6 kB / 1.414 GB, free: 8.363 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/1.026, allocations: 15.98 kB / 1.414 GB, free: 8.348 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/1.031, allocations: 4.55 MB / 1.419 GB, free: 3.527 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.031, allocations: 4.062 kB / 1.419 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.033, allocations: 1.059 MB / 1.42 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/1.034, allocations: 224.2 kB / 1.42 GB, free: 2.203 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.034, allocations: 12 kB / 1.42 GB, free: 2.191 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.034, allocations: 23.97 kB / 1.42 GB, free: 2.168 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/1.034, allocations: 55.92 kB / 1.42 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/1.034, allocations: 19.98 kB / 1.42 GB, free: 2.094 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001759/1.036, allocations: 1.281 MB / 1.422 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 0 / 1.422 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008712/1.037, allocations: 199.8 kB / 1.422 GB, free: 0.6133 MB / 1.123 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.004141/1.041, allocations: 1.983 MB / 1.424 GB, free: 14.8 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001646/1.043, allocations: 0.7028 MB / 1.424 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.043, allocations: 4 kB / 1.424 GB, free: 14.08 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.044, allocations: 0.5317 MB / 1.425 GB, free: 13.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.045, allocations: 208.6 kB / 1.425 GB, free: 13.32 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.06, allocations: 8.6 MB / 1.433 GB, free: 4.508 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.061, allocations: 1.153 MB / 1.435 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003469/1.061, allocations: 84.8 kB / 1.435 GB, free: 3.238 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/1.062, allocations: 411.2 kB / 1.435 GB, free: 2.836 MB / 1.139 GB Notification: Performance of SimCode: time 8.51e-07/1.062, allocations: 3.938 kB / 1.435 GB, free: 2.832 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06601/1.128, allocations: 21.35 MB / 1.456 GB, free: 13.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.09, allocations: 17.95 kB / 1.456 GB, free: 13.63 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.13037600601092]