Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 210.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.246/3.246, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 70.84 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2068/0.5688, allocations: 160.5 MB / 1.51 GB, free: 7.34 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03014/0.5989, allocations: 21.94 MB / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.6011, allocations: 71.44 kB / 1.531 GB, free: 1.258 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.603, allocations: 1.173 MB / 1.532 GB, free: 84 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.6052, allocations: 0.9107 MB / 1.533 GB, free: 15.17 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.6065, allocations: 410.5 kB / 1.534 GB, free: 14.77 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.6087, allocations: 1.278 MB / 1.535 GB, free: 13.48 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6097, allocations: 0.5547 MB / 1.535 GB, free: 12.92 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.6109, allocations: 0.5763 MB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.6125, allocations: 1.007 MB / 1.537 GB, free: 11.33 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.6127, allocations: 67.94 kB / 1.537 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.6132, allocations: 108 kB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.6136, allocations: 328.6 kB / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.6142, allocations: 492.8 kB / 1.538 GB, free: 10.36 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.6158, allocations: 1.221 MB / 1.539 GB, free: 9.129 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.6158, allocations: 4 kB / 1.539 GB, free: 9.125 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6158, allocations: 3.938 kB / 1.539 GB, free: 9.121 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.6158, allocations: 0 / 1.539 GB, free: 9.121 MB / 1.232 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.002589/0.6184, allocations: 1.501 MB / 1.54 GB, free: 7.582 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6185, allocations: 16.03 kB / 1.541 GB, free: 7.566 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.6186, allocations: 82.7 kB / 1.541 GB, free: 7.477 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.6188, allocations: 144 kB / 1.541 GB, free: 7.336 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6198, allocations: 0.6063 MB / 1.541 GB, free: 6.691 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.62, allocations: 100.4 kB / 1.541 GB, free: 6.582 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.029e-05/0.6201, allocations: 44 kB / 1.541 GB, free: 6.539 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6211, allocations: 0.5223 MB / 1.542 GB, free: 6 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.6211, allocations: 3.953 kB / 1.542 GB, free: 5.996 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.779e-05/0.6212, allocations: 23.98 kB / 1.542 GB, free: 5.973 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6212, allocations: 12 kB / 1.542 GB, free: 5.961 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.6221, allocations: 411.7 kB / 1.542 GB, free: 5.562 MB / 1.232 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.004328/0.6264, allocations: 2.692 MB / 1.545 GB, free: 2.641 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.6274, allocations: 423.8 kB / 1.545 GB, free: 2.215 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.6281, allocations: 288.1 kB / 1.546 GB, free: 1.934 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.6282, allocations: 8.312 kB / 1.546 GB, free: 1.926 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006393/0.6288, allocations: 284.5 kB / 1.546 GB, free: 1.637 MB / 1.232 GB Notification: Performance of pre-optimization done (n=44): time 3.918e-06/0.6288, allocations: 0 / 1.546 GB, free: 1.637 MB / 1.232 GB Notification: Performance of matching and sorting (n=44): time 0.00289/0.6317, allocations: 0.9977 MB / 1.547 GB, free: 0.625 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.6318, allocations: 63.39 kB / 1.547 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.634, allocations: 1.781 MB / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.634, allocations: 37.7 kB / 1.549 GB, free: 14.72 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/0.6346, allocations: 0.5294 MB / 1.549 GB, free: 14.18 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6347, allocations: 146.8 kB / 1.549 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.6349, allocations: 106.3 kB / 1.55 GB, free: 13.93 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.635, allocations: 330 kB / 1.55 GB, free: 13.6 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.6355, allocations: 213.2 kB / 1.55 GB, free: 13.39 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.6361, allocations: 336.1 kB / 1.55 GB, free: 13.02 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.6371, allocations: 0.5153 MB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6371, allocations: 4 kB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001721/0.6388, allocations: 0.8139 MB / 1.552 GB, free: 11.62 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6388, allocations: 4 kB / 1.552 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6388, allocations: 16.09 kB / 1.552 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.6393, allocations: 139.2 kB / 1.552 GB, free: 11.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.6397, allocations: 95.88 kB / 1.552 GB, free: 11.38 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.6429, allocations: 2.508 MB / 1.554 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.6434, allocations: 75.58 kB / 1.554 GB, free: 8.684 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.6435, allocations: 24 kB / 1.554 GB, free: 8.66 MB / 1.248 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.0005881/0.644, allocations: 395.3 kB / 1.555 GB, free: 8.266 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6442, allocations: 123.1 kB / 1.555 GB, free: 8.145 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.6458, allocations: 0.7165 MB / 1.556 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6458, allocations: 4 kB / 1.556 GB, free: 7.41 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6458, allocations: 7.938 kB / 1.556 GB, free: 7.402 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.6458, allocations: 0 / 1.556 GB, free: 7.402 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.6485, allocations: 1.469 MB / 1.557 GB, free: 5.883 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6485, allocations: 0 / 1.557 GB, free: 5.883 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.6488, allocations: 55.89 kB / 1.557 GB, free: 5.828 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.6492, allocations: 153.6 kB / 1.557 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.6492, allocations: 23.97 kB / 1.557 GB, free: 5.648 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004637/0.6539, allocations: 4.07 MB / 1.561 GB, free: 1.355 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6539, allocations: 0 / 1.561 GB, free: 1.355 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.6559, allocations: 1.005 MB / 1.562 GB, free: 336 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.6562, allocations: 147.3 kB / 1.562 GB, free: 188 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.6564, allocations: 19.94 kB / 1.562 GB, free: 168 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.6567, allocations: 27.97 kB / 1.562 GB, free: 140 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.6569, allocations: 59.88 kB / 1.563 GB, free: 80 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.6569, allocations: 12 kB / 1.563 GB, free: 68 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001754/0.6586, allocations: 1.309 MB / 1.564 GB, free: 14.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6586, allocations: 0 / 1.564 GB, free: 14.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008559/0.6595, allocations: 203.7 kB / 1.564 GB, free: 14.55 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (29): * Single equations (assignments): 21 * 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.004071/0.6636, allocations: 1.915 MB / 1.566 GB, free: 12.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.6652, allocations: 0.6514 MB / 1.567 GB, free: 12.13 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6652, allocations: 0.875 kB / 1.567 GB, free: 12.13 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6662, allocations: 0.5165 MB / 1.567 GB, free: 11.59 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6674, allocations: 198.8 kB / 1.567 GB, free: 11.41 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.6821, allocations: 8.588 MB / 1.576 GB, free: 2.586 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.6831, allocations: 1.157 MB / 1.577 GB, free: 1.398 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.6835, allocations: 100.8 kB / 1.577 GB, free: 1.301 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.684, allocations: 419.3 kB / 1.577 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of SimCode: time 2.034e-06/0.684, allocations: 0 / 1.577 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06652/0.7506, allocations: 21.59 MB / 1.598 GB, free: 11.47 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.89, allocations: 17.84 kB / 1.598 GB, free: 11.46 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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: 25.91659988416359]