Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.002073/0.002073, allocations: 106.2 kB / 16.45 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.002325/0.002325, allocations: 192.5 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.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.52/2.52, allocations: 443.5 MB / 0.7287 GB, free: 13.21 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.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.91 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8177, allocations: 160.7 MB / 1.213 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.2139/1.032, allocations: 157.3 MB / 1.367 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02911/1.061, allocations: 21.82 MB / 1.388 GB, free: 4.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/1.063, allocations: 55.69 kB / 1.388 GB, free: 4.535 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/1.065, allocations: 1.157 MB / 1.389 GB, free: 3.375 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/1.066, allocations: 0.8718 MB / 1.39 GB, free: 2.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/1.068, allocations: 442.5 kB / 1.39 GB, free: 2.07 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002214/1.07, allocations: 1.255 MB / 1.391 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/1.071, allocations: 0.5582 MB / 1.392 GB, free: 256 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009685/1.072, allocations: 0.5607 MB / 1.393 GB, free: 15.69 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/1.074, allocations: 0.9995 MB / 1.394 GB, free: 14.69 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.074, allocations: 68 kB / 1.394 GB, free: 14.62 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/1.074, allocations: 112 kB / 1.394 GB, free: 14.51 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/1.074, allocations: 320.7 kB / 1.394 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004942/1.075, allocations: 492.8 kB / 1.395 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/1.076, allocations: 1.206 MB / 1.396 GB, free: 12.5 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.076, allocations: 0 / 1.396 GB, free: 12.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.362e-06/1.076, allocations: 0 / 1.396 GB, free: 12.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.512e-05/1.076, allocations: 4 kB / 1.396 GB, free: 12.5 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.002579/1.079, allocations: 1.521 MB / 1.397 GB, free: 10.92 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.079, allocations: 8.922 kB / 1.397 GB, free: 10.91 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/1.079, allocations: 90.64 kB / 1.397 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/1.079, allocations: 140 kB / 1.397 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.08, allocations: 0.6754 MB / 1.398 GB, free: 9.953 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.08, allocations: 70.69 kB / 1.398 GB, free: 9.875 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/1.08, allocations: 47.98 kB / 1.398 GB, free: 9.828 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/1.081, allocations: 0.5223 MB / 1.399 GB, free: 9.293 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/1.081, allocations: 4 kB / 1.399 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/1.081, allocations: 19.94 kB / 1.399 GB, free: 9.27 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.082, allocations: 8 kB / 1.399 GB, free: 9.262 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/1.082, allocations: 411.7 kB / 1.399 GB, free: 8.859 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.0038/1.086, allocations: 2.736 MB / 1.402 GB, free: 5.891 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/1.087, allocations: 415.6 kB / 1.402 GB, free: 5.477 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/1.088, allocations: 286.8 kB / 1.402 GB, free: 5.195 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/1.088, allocations: 4.328 kB / 1.402 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/1.088, allocations: 280.1 kB / 1.403 GB, free: 4.906 MB / 1.107 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/1.088, allocations: 0 / 1.403 GB, free: 4.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=44): time 0.002705/1.091, allocations: 1.158 MB / 1.404 GB, free: 3.699 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/1.091, allocations: 63.41 kB / 1.404 GB, free: 3.625 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.093, allocations: 1.76 MB / 1.406 GB, free: 1.855 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/1.093, allocations: 37.7 kB / 1.406 GB, free: 1.812 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/1.094, allocations: 0.5253 MB / 1.406 GB, free: 1.281 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/1.094, allocations: 158.7 kB / 1.406 GB, free: 1.125 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.094, allocations: 98.19 kB / 1.406 GB, free: 1.023 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.094, allocations: 334 kB / 1.407 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/1.095, allocations: 209 kB / 1.407 GB, free: 500 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/1.095, allocations: 340.6 kB / 1.407 GB, free: 112 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/1.096, allocations: 0.5197 MB / 1.408 GB, free: 15.54 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/1.096, allocations: 4 kB / 1.408 GB, free: 15.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001564/1.098, allocations: 0.8023 MB / 1.409 GB, free: 14.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.098, allocations: 11.98 kB / 1.409 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.098, allocations: 4 kB / 1.409 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/1.098, allocations: 129 kB / 1.409 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/1.099, allocations: 107.8 kB / 1.409 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/1.102, allocations: 2.6 MB / 1.411 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/1.102, allocations: 75.58 kB / 1.411 GB, free: 11.67 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/1.102, allocations: 23.94 kB / 1.411 GB, free: 11.65 MB / 1.123 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.0005022/1.103, allocations: 395.4 kB / 1.412 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.103, allocations: 123.1 kB / 1.412 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.103, allocations: 135.7 kB / 1.412 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.103, allocations: 11.98 kB / 1.412 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.103, allocations: 0 / 1.412 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.103, allocations: 0 / 1.412 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.105, allocations: 1.485 MB / 1.414 GB, free: 9.438 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.105, allocations: 4 kB / 1.414 GB, free: 9.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/1.106, allocations: 51.89 kB / 1.414 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/1.106, allocations: 157.6 kB / 1.414 GB, free: 9.223 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/1.106, allocations: 11.98 kB / 1.414 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/1.11, allocations: 4.029 MB / 1.418 GB, free: 4.91 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.11, allocations: 7.938 kB / 1.418 GB, free: 4.902 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.112, allocations: 0.9897 MB / 1.419 GB, free: 3.887 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/1.112, allocations: 216.2 kB / 1.419 GB, free: 3.656 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/1.112, allocations: 15.98 kB / 1.419 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/1.112, allocations: 23.97 kB / 1.419 GB, free: 3.617 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.112, allocations: 63.8 kB / 1.419 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/1.112, allocations: 12 kB / 1.419 GB, free: 3.543 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001456/1.114, allocations: 1.293 MB / 1.42 GB, free: 2.246 MB / 1.123 GB Notification: Performance of sort global known variables: time 5e-08/1.114, allocations: 0 / 1.42 GB, free: 2.246 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006743/1.115, allocations: 195.7 kB / 1.42 GB, free: 2.055 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,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.003569/1.118, allocations: 1.895 MB / 1.422 GB, free: 328 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001332/1.119, allocations: 0.6506 MB / 1.423 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.119, allocations: 0.875 kB / 1.423 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/1.12, allocations: 0.5204 MB / 1.423 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/1.121, allocations: 211.2 kB / 1.424 GB, free: 14.91 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.133, allocations: 8.538 MB / 1.432 GB, free: 6.137 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000867/1.134, allocations: 1.153 MB / 1.433 GB, free: 4.953 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003072/1.134, allocations: 92.77 kB / 1.433 GB, free: 4.863 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.135, allocations: 407.3 kB / 1.434 GB, free: 4.465 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/1.135, allocations: 0 / 1.434 GB, free: 4.465 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/1.197, allocations: 20.97 MB / 1.454 GB, free: 15.65 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.38, allocations: 8.062 kB / 1.454 GB, free: 15.64 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.90003970498219]