Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001826/0.001826, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.002044/0.002044, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.975/0.9778, allocations: 173.9 MB / 1.304 GB, free: 32.19 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1935/1.171, allocations: 157.3 MB / 1.458 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0332/1.204, allocations: 21.83 MB / 1.479 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/1.207, allocations: 54.22 kB / 1.479 GB, free: 14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/1.21, allocations: 1.164 MB / 1.48 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002126/1.212, allocations: 0.867 MB / 1.481 GB, free: 12.85 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/1.213, allocations: 445.3 kB / 1.481 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002138/1.215, allocations: 1.255 MB / 1.483 GB, free: 11.79 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.217, allocations: 0.5598 MB / 1.483 GB, free: 11.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/1.218, allocations: 0.5591 MB / 1.484 GB, free: 11.11 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/1.22, allocations: 1.004 MB / 1.485 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.22, allocations: 66.59 kB / 1.485 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/1.22, allocations: 114.9 kB / 1.485 GB, free: 10.61 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/1.221, allocations: 316.6 kB / 1.485 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007159/1.221, allocations: 493.9 kB / 1.486 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/1.223, allocations: 1.21 MB / 1.487 GB, free: 9.203 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.223, allocations: 0 / 1.487 GB, free: 9.203 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.794e-06/1.223, allocations: 0 / 1.487 GB, free: 9.203 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.828e-05/1.224, allocations: 0 / 1.487 GB, free: 9.203 MB / 1.17 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.004422/1.228, allocations: 1.521 MB / 1.488 GB, free: 8.004 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.228, allocations: 8.844 kB / 1.488 GB, free: 8.004 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/1.228, allocations: 82.47 kB / 1.488 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/1.228, allocations: 150.8 kB / 1.489 GB, free: 7.844 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.23, allocations: 0.6687 MB / 1.489 GB, free: 7.281 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/1.23, allocations: 76.61 kB / 1.489 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.23, allocations: 55.09 kB / 1.489 GB, free: 7.203 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.231, allocations: 0.5139 MB / 1.49 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.231, allocations: 1.25 kB / 1.49 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/1.231, allocations: 17.06 kB / 1.49 GB, free: 6.875 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/1.231, allocations: 10 kB / 1.49 GB, free: 6.875 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/1.232, allocations: 421.9 kB / 1.49 GB, free: 6.668 MB / 1.17 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.004605/1.237, allocations: 2.794 MB / 1.493 GB, free: 4.234 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/1.238, allocations: 433.4 kB / 1.493 GB, free: 4.012 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/1.238, allocations: 262.2 kB / 1.494 GB, free: 3.883 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/1.238, allocations: 8.328 kB / 1.494 GB, free: 3.879 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/1.239, allocations: 295.1 kB / 1.494 GB, free: 3.695 MB / 1.17 GB Notification: Performance of pre-optimization done (n=45): time 2.835e-06/1.239, allocations: 0 / 1.494 GB, free: 3.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.003345/1.242, allocations: 1.247 MB / 1.495 GB, free: 2.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/1.242, allocations: 57.06 kB / 1.495 GB, free: 2.867 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/1.245, allocations: 1.759 MB / 1.497 GB, free: 1.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/1.245, allocations: 41.7 kB / 1.497 GB, free: 1.527 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/1.245, allocations: 0.5144 MB / 1.497 GB, free: 1.008 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.246, allocations: 150.8 kB / 1.498 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.246, allocations: 98.23 kB / 1.498 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.246, allocations: 330 kB / 1.498 GB, free: 440 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/1.246, allocations: 221 kB / 1.498 GB, free: 220 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/1.247, allocations: 328.8 kB / 1.499 GB, free: 15.85 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.248, allocations: 0.499 MB / 1.499 GB, free: 15.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.248, allocations: 11.94 kB / 1.499 GB, free: 15.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001861/1.25, allocations: 0.8427 MB / 1.5 GB, free: 14.45 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.25, allocations: 12.03 kB / 1.5 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.25, allocations: 4 kB / 1.5 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/1.251, allocations: 180.7 kB / 1.5 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/1.251, allocations: 99.8 kB / 1.5 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/1.255, allocations: 2.995 MB / 1.503 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/1.256, allocations: 83.64 kB / 1.503 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/1.256, allocations: 20 kB / 1.503 GB, free: 10.93 MB / 1.186 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.0007483/1.256, allocations: 395.2 kB / 1.504 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/1.257, allocations: 119.2 kB / 1.504 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/1.257, allocations: 143.7 kB / 1.504 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.257, allocations: 4 kB / 1.504 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/1.257, allocations: 4 kB / 1.504 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.257, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/1.26, allocations: 1.56 MB / 1.505 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.26, allocations: 0 / 1.505 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/1.26, allocations: 47.97 kB / 1.505 GB, free: 8.602 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/1.261, allocations: 197.5 kB / 1.506 GB, free: 8.402 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/1.261, allocations: 8 kB / 1.506 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00562/1.267, allocations: 4.559 MB / 1.51 GB, free: 3.566 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.267, allocations: 0 / 1.51 GB, free: 3.566 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/1.269, allocations: 1.063 MB / 1.511 GB, free: 2.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/1.269, allocations: 220.2 kB / 1.511 GB, free: 2.246 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.269, allocations: 15.94 kB / 1.511 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/1.27, allocations: 35.95 kB / 1.511 GB, free: 2.195 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.27, allocations: 47.94 kB / 1.511 GB, free: 2.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/1.27, allocations: 15.98 kB / 1.511 GB, free: 2.133 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001775/1.272, allocations: 1.281 MB / 1.513 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/1.272, allocations: 0 / 1.513 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009099/1.273, allocations: 199.7 kB / 1.513 GB, free: 0.6523 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.004202/1.277, allocations: 1.978 MB / 1.515 GB, free: 14.83 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.279, allocations: 0.6877 MB / 1.515 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.279, allocations: 0 / 1.515 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009846/1.28, allocations: 0.5477 MB / 1.516 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.281, allocations: 215.5 kB / 1.516 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.295, allocations: 8.596 MB / 1.525 GB, free: 4.551 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009812/1.296, allocations: 1.157 MB / 1.526 GB, free: 3.367 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003231/1.296, allocations: 80.8 kB / 1.526 GB, free: 3.289 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/1.297, allocations: 407.3 kB / 1.526 GB, free: 2.891 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/1.297, allocations: 0 / 1.526 GB, free: 2.891 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/1.358, allocations: 21.36 MB / 1.547 GB, free: 13.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.98, allocations: 20.75 kB / 1.547 GB, free: 13.8 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.013778504915535]