Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001724/0.001724, allocations: 104.4 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.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.002039/0.002039, allocations: 195.7 kB / 19.41 MB, free: 3.676 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.525/2.525, 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.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7402, allocations: 160.7 MB / 1.213 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1986/0.9388, allocations: 157.3 MB / 1.367 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03421/0.973, allocations: 21.82 MB / 1.388 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.9762, allocations: 55.69 kB / 1.388 GB, free: 4.367 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.9787, allocations: 1.165 MB / 1.389 GB, free: 3.199 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.9811, allocations: 0.8679 MB / 1.39 GB, free: 2.328 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.9828, allocations: 446.4 kB / 1.39 GB, free: 1.895 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.9852, allocations: 1.251 MB / 1.391 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.9864, allocations: 0.5659 MB / 1.392 GB, free: 72 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.9877, allocations: 0.553 MB / 1.393 GB, free: 15.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.9894, allocations: 0.9995 MB / 1.394 GB, free: 14.52 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.9895, allocations: 64 kB / 1.394 GB, free: 14.45 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.9898, allocations: 111.9 kB / 1.394 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.9902, allocations: 320.7 kB / 1.394 GB, free: 14.03 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.9908, allocations: 492.8 kB / 1.395 GB, free: 13.54 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.9924, allocations: 1.209 MB / 1.396 GB, free: 12.33 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9924, allocations: 0 / 1.396 GB, free: 12.33 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9924, allocations: 0 / 1.396 GB, free: 12.33 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.9925, allocations: 0 / 1.396 GB, free: 12.33 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.00266/0.9951, allocations: 1.528 MB / 1.397 GB, free: 10.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.9952, allocations: 12.92 kB / 1.397 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.9953, allocations: 86.7 kB / 1.397 GB, free: 10.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.9955, allocations: 136 kB / 1.397 GB, free: 10.51 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.9965, allocations: 0.6832 MB / 1.398 GB, free: 9.773 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.9967, allocations: 74.62 kB / 1.398 GB, free: 9.691 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.9968, allocations: 44 kB / 1.398 GB, free: 9.648 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.9978, allocations: 0.5145 MB / 1.399 GB, free: 9.121 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.9978, allocations: 4 kB / 1.399 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.9979, allocations: 20 kB / 1.399 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.9979, allocations: 12 kB / 1.399 GB, free: 9.086 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.9987, allocations: 411.7 kB / 1.399 GB, free: 8.684 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.004078/1.003, allocations: 2.808 MB / 1.402 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.004, allocations: 429.9 kB / 1.402 GB, free: 5.203 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/1.004, allocations: 265.3 kB / 1.403 GB, free: 4.941 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/1.005, allocations: 8.328 kB / 1.403 GB, free: 4.934 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/1.005, allocations: 302.5 kB / 1.403 GB, free: 4.629 MB / 1.107 GB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/1.005, allocations: 4 kB / 1.403 GB, free: 4.625 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003077/1.008, allocations: 1.239 MB / 1.404 GB, free: 3.336 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.008, allocations: 55.41 kB / 1.404 GB, free: 3.27 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.01, allocations: 1.752 MB / 1.406 GB, free: 1.508 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/1.01, allocations: 37.7 kB / 1.406 GB, free: 1.465 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/1.011, allocations: 0.5221 MB / 1.406 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/1.011, allocations: 150.8 kB / 1.406 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.011, allocations: 98.19 kB / 1.407 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.011, allocations: 334 kB / 1.407 GB, free: 364 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/1.012, allocations: 217 kB / 1.407 GB, free: 148 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/1.012, allocations: 328.8 kB / 1.407 GB, free: 15.79 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.013, allocations: 0.5146 MB / 1.408 GB, free: 15.23 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.013, allocations: 3.938 kB / 1.408 GB, free: 15.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001686/1.015, allocations: 0.84 MB / 1.409 GB, free: 14.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.015, allocations: 8 kB / 1.409 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.015, allocations: 3.984 kB / 1.409 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005368/1.016, allocations: 184.8 kB / 1.409 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/1.016, allocations: 99.81 kB / 1.409 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/1.02, allocations: 2.997 MB / 1.412 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/1.02, allocations: 71.62 kB / 1.412 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/1.02, allocations: 24 kB / 1.412 GB, free: 10.86 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.000548/1.021, allocations: 391.3 kB / 1.412 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.021, allocations: 127.2 kB / 1.413 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/1.021, allocations: 143.7 kB / 1.413 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.021, allocations: 4 kB / 1.413 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.021, allocations: 4 kB / 1.413 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.021, allocations: 0 / 1.413 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/1.024, allocations: 1.555 MB / 1.414 GB, free: 8.578 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.024, allocations: 0 / 1.414 GB, free: 8.578 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.024, allocations: 51.84 kB / 1.414 GB, free: 8.527 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/1.025, allocations: 190.6 kB / 1.414 GB, free: 8.336 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/1.025, allocations: 15.98 kB / 1.414 GB, free: 8.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/1.03, allocations: 4.551 MB / 1.419 GB, free: 3.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.03, allocations: 0 / 1.419 GB, free: 3.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/1.032, allocations: 1.063 MB / 1.42 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/1.032, allocations: 224.2 kB / 1.42 GB, free: 2.176 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/1.032, allocations: 16 kB / 1.42 GB, free: 2.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/1.033, allocations: 27.97 kB / 1.42 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.033, allocations: 51.92 kB / 1.42 GB, free: 2.082 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/1.033, allocations: 15.98 kB / 1.42 GB, free: 2.066 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001553/1.035, allocations: 1.288 MB / 1.422 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/1.035, allocations: 0 / 1.422 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007992/1.035, allocations: 191.8 kB / 1.422 GB, free: 0.5859 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.003956/1.039, allocations: 1.991 MB / 1.424 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00161/1.041, allocations: 0.6883 MB / 1.424 GB, free: 14.06 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.041, allocations: 3.938 kB / 1.424 GB, free: 14.06 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/1.042, allocations: 0.544 MB / 1.425 GB, free: 13.49 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/1.043, allocations: 204.6 kB / 1.425 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.056, allocations: 8.596 MB / 1.433 GB, free: 4.484 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/1.057, allocations: 1.157 MB / 1.435 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003189/1.057, allocations: 80.8 kB / 1.435 GB, free: 3.219 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.058, allocations: 411.3 kB / 1.435 GB, free: 2.816 MB / 1.139 GB Notification: Performance of SimCode: time 1.152e-06/1.058, allocations: 0 / 1.435 GB, free: 2.816 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/1.118, allocations: 21.37 MB / 1.456 GB, free: 13.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.88, allocations: 7.922 kB / 1.456 GB, free: 13.61 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 22.50081964628771]