Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001723/0.001723, allocations: 102.6 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.002074/0.002074, 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 3.738 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 2.938/2.938, allocations: 497.2 MB / 0.7812 GB, free: 12.1 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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 67.91 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.954, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.192/1.146, allocations: 157.3 MB / 1.458 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03266/1.179, allocations: 21.82 MB / 1.479 GB, free: 14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/1.181, allocations: 50.44 kB / 1.479 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/1.183, allocations: 1.164 MB / 1.48 GB, free: 13.37 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/1.185, allocations: 0.8627 MB / 1.481 GB, free: 12.84 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/1.187, allocations: 458.5 kB / 1.481 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002018/1.189, allocations: 1.251 MB / 1.483 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/1.19, allocations: 0.5635 MB / 1.483 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/1.191, allocations: 0.5592 MB / 1.484 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/1.192, allocations: 1.009 MB / 1.485 GB, free: 10.6 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/1.192, allocations: 65.56 kB / 1.485 GB, free: 10.6 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/1.192, allocations: 107.4 kB / 1.485 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/1.193, allocations: 320.6 kB / 1.485 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/1.193, allocations: 486.6 kB / 1.486 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.195, allocations: 1.212 MB / 1.487 GB, free: 9.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.195, allocations: 1.188 kB / 1.487 GB, free: 9.184 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.283e-06/1.195, allocations: 0 / 1.487 GB, free: 9.184 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.153e-05/1.195, allocations: 0 / 1.487 GB, free: 9.184 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.002816/1.198, allocations: 1.525 MB / 1.488 GB, free: 7.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.198, allocations: 9.125 kB / 1.488 GB, free: 7.98 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/1.198, allocations: 85.23 kB / 1.488 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/1.198, allocations: 139.7 kB / 1.489 GB, free: 7.828 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.199, allocations: 0.6833 MB / 1.489 GB, free: 7.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.199, allocations: 73.75 kB / 1.489 GB, free: 7.199 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/1.199, allocations: 42.66 kB / 1.489 GB, free: 7.188 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.2, allocations: 0.5143 MB / 1.49 GB, free: 6.871 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.2, allocations: 5.156 kB / 1.49 GB, free: 6.867 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/1.2, allocations: 27.36 kB / 1.49 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/1.2, allocations: 10.94 kB / 1.49 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/1.201, allocations: 410.9 kB / 1.49 GB, free: 6.648 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.004195/1.205, allocations: 2.785 MB / 1.493 GB, free: 4.223 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.207, allocations: 434.1 kB / 1.493 GB, free: 4 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/1.207, allocations: 266.3 kB / 1.494 GB, free: 3.867 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/1.207, allocations: 8.719 kB / 1.494 GB, free: 3.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/1.208, allocations: 302.5 kB / 1.494 GB, free: 3.672 MB / 1.17 GB Notification: Performance of pre-optimization done (n=45): time 2.305e-06/1.208, allocations: 0 / 1.494 GB, free: 3.672 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.003189/1.211, allocations: 1.239 MB / 1.495 GB, free: 2.914 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.211, allocations: 56.84 kB / 1.495 GB, free: 2.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/1.213, allocations: 1.754 MB / 1.497 GB, free: 1.543 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.213, allocations: 38.14 kB / 1.497 GB, free: 1.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/1.214, allocations: 0.5183 MB / 1.497 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/1.214, allocations: 154.8 kB / 1.498 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.214, allocations: 98.23 kB / 1.498 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.214, allocations: 333.8 kB / 1.498 GB, free: 400 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/1.215, allocations: 217 kB / 1.498 GB, free: 184 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/1.215, allocations: 324.9 kB / 1.499 GB, free: 15.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/1.216, allocations: 0.5059 MB / 1.499 GB, free: 15.28 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.216, allocations: 3.938 kB / 1.499 GB, free: 15.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001816/1.218, allocations: 0.8486 MB / 1.5 GB, free: 14.42 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.218, allocations: 5.875 kB / 1.5 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.218, allocations: 4 kB / 1.5 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/1.219, allocations: 192.7 kB / 1.5 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/1.219, allocations: 91.88 kB / 1.5 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/1.223, allocations: 3.013 MB / 1.503 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/1.224, allocations: 71.59 kB / 1.503 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.224, allocations: 23.94 kB / 1.503 GB, free: 10.89 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.0006346/1.224, allocations: 391.4 kB / 1.504 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.224, allocations: 123.2 kB / 1.504 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/1.225, allocations: 139.7 kB / 1.504 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.225, allocations: 4 kB / 1.504 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.225, allocations: 4 kB / 1.504 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.225, allocations: 3.984 kB / 1.504 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/1.227, allocations: 1.556 MB / 1.505 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.227, allocations: 0 / 1.505 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/1.228, allocations: 47.91 kB / 1.505 GB, free: 8.559 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/1.228, allocations: 189.6 kB / 1.506 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/1.228, allocations: 12 kB / 1.506 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005271/1.234, allocations: 4.557 MB / 1.51 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.234, allocations: 0 / 1.51 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.236, allocations: 1.067 MB / 1.511 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/1.236, allocations: 220.2 kB / 1.511 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/1.236, allocations: 15.98 kB / 1.511 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/1.237, allocations: 23.97 kB / 1.511 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.237, allocations: 51.92 kB / 1.511 GB, free: 2.113 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/1.237, allocations: 16 kB / 1.511 GB, free: 2.098 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001689/1.238, allocations: 1.284 MB / 1.513 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.238, allocations: 7.875 kB / 1.513 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008956/1.239, allocations: 203.7 kB / 1.513 GB, free: 0.6016 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.004042/1.243, allocations: 1.974 MB / 1.515 GB, free: 14.79 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.245, allocations: 0.6896 MB / 1.515 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.245, allocations: 8.625 kB / 1.515 GB, free: 14.09 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/1.246, allocations: 0.5395 MB / 1.516 GB, free: 13.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.247, allocations: 203.8 kB / 1.516 GB, free: 13.33 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/1.261, allocations: 8.604 MB / 1.525 GB, free: 4.508 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/1.262, allocations: 1.149 MB / 1.526 GB, free: 3.332 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003205/1.262, allocations: 88.72 kB / 1.526 GB, free: 3.246 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/1.263, allocations: 407.3 kB / 1.526 GB, free: 2.848 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/1.263, allocations: 0 / 1.526 GB, free: 2.848 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06026/1.323, allocations: 21.37 MB / 1.547 GB, free: 13.77 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.54, allocations: 9.5 kB / 1.547 GB, free: 13.77 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.437709419988096]