Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001919/0.001919, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002574/0.002574, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.977 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.369/3.369, allocations: 0.505 GB / 0.8101 GB, free: 22 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.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.002045/0.002045, allocations: 75.84 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1887/0.5435, allocations: 160.5 MB / 1.51 GB, free: 7.289 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.5719, allocations: 21.94 MB / 1.531 GB, free: 1.285 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.5736, allocations: 71.44 kB / 1.531 GB, free: 1.215 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.5756, allocations: 1.169 MB / 1.532 GB, free: 44 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5774, allocations: 0.9186 MB / 1.533 GB, free: 15.12 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.5786, allocations: 410.6 kB / 1.534 GB, free: 14.71 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.5803, allocations: 1.278 MB / 1.535 GB, free: 13.43 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009415/0.5813, allocations: 0.5508 MB / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.5821, allocations: 0.5841 MB / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.5835, allocations: 1.003 MB / 1.537 GB, free: 11.29 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.5836, allocations: 64 kB / 1.537 GB, free: 11.22 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.5838, allocations: 104 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.5842, allocations: 320.7 kB / 1.537 GB, free: 10.81 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.5846, allocations: 0.489 MB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.586, allocations: 1.225 MB / 1.539 GB, free: 9.086 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.586, allocations: 3.938 kB / 1.539 GB, free: 9.082 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.172e-06/0.586, allocations: 4 kB / 1.539 GB, free: 9.078 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.586, allocations: 0 / 1.539 GB, free: 9.078 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.002597/0.5886, allocations: 1.497 MB / 1.54 GB, free: 7.543 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5886, allocations: 12.03 kB / 1.54 GB, free: 7.531 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.5887, allocations: 86.7 kB / 1.541 GB, free: 7.438 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.5889, allocations: 140 kB / 1.541 GB, free: 7.301 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.5899, allocations: 0.6102 MB / 1.541 GB, free: 6.652 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5901, allocations: 100.4 kB / 1.541 GB, free: 6.543 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/0.5902, allocations: 51.94 kB / 1.541 GB, free: 6.492 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5912, allocations: 0.5261 MB / 1.542 GB, free: 5.949 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5912, allocations: 3.953 kB / 1.542 GB, free: 5.945 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.5913, allocations: 16 kB / 1.542 GB, free: 5.93 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.5913, allocations: 12 kB / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009051/0.5922, allocations: 415.7 kB / 1.542 GB, free: 5.516 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.003952/0.5961, allocations: 2.693 MB / 1.545 GB, free: 2.594 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.5971, allocations: 425.4 kB / 1.545 GB, free: 2.168 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.5978, allocations: 285.3 kB / 1.546 GB, free: 1.887 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.5978, allocations: 4.328 kB / 1.546 GB, free: 1.883 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/0.5985, allocations: 292.8 kB / 1.546 GB, free: 1.586 MB / 1.232 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.5985, allocations: 0 / 1.546 GB, free: 1.586 MB / 1.232 GB Notification: Performance of matching and sorting (n=44): time 0.002673/0.6012, allocations: 0.9937 MB / 1.547 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6012, allocations: 55.41 kB / 1.547 GB, free: 0.5117 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.6033, allocations: 1.793 MB / 1.549 GB, free: 14.71 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.6034, allocations: 37.7 kB / 1.549 GB, free: 14.67 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.6039, allocations: 0.5255 MB / 1.549 GB, free: 14.14 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.604, allocations: 150.7 kB / 1.549 GB, free: 13.99 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.6042, allocations: 106.3 kB / 1.55 GB, free: 13.88 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6043, allocations: 322 kB / 1.55 GB, free: 13.56 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.6048, allocations: 221.2 kB / 1.55 GB, free: 13.34 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.6054, allocations: 336.1 kB / 1.55 GB, free: 12.96 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.6064, allocations: 0.5129 MB / 1.551 GB, free: 12.4 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.6064, allocations: 4 kB / 1.551 GB, free: 12.4 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001602/0.608, allocations: 0.8158 MB / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.608, allocations: 4 kB / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.608, allocations: 4 kB / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.6085, allocations: 142.5 kB / 1.552 GB, free: 11.43 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.6089, allocations: 103.8 kB / 1.552 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.612, allocations: 2.507 MB / 1.554 GB, free: 8.711 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.6124, allocations: 75.59 kB / 1.554 GB, free: 8.637 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.6124, allocations: 23.98 kB / 1.554 GB, free: 8.613 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.0005088/0.6129, allocations: 391.3 kB / 1.555 GB, free: 8.223 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6131, allocations: 131.1 kB / 1.555 GB, free: 8.094 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.6146, allocations: 0.7048 MB / 1.556 GB, free: 7.375 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6146, allocations: 4 kB / 1.556 GB, free: 7.371 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.6146, allocations: 11.97 kB / 1.556 GB, free: 7.359 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6146, allocations: 0 / 1.556 GB, free: 7.359 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.6173, allocations: 1.473 MB / 1.557 GB, free: 5.836 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6173, allocations: 0 / 1.557 GB, free: 5.836 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.6175, allocations: 47.95 kB / 1.557 GB, free: 5.789 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.618, allocations: 168.1 kB / 1.557 GB, free: 5.621 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.618, allocations: 11.98 kB / 1.557 GB, free: 5.609 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.6225, allocations: 4.085 MB / 1.561 GB, free: 1.301 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6225, allocations: 0 / 1.561 GB, free: 1.301 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6244, allocations: 1.001 MB / 1.562 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.6246, allocations: 147.1 kB / 1.562 GB, free: 136 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.6247, allocations: 15.94 kB / 1.562 GB, free: 120 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.6251, allocations: 31.97 kB / 1.562 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6252, allocations: 59.83 kB / 1.563 GB, free: 28 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.6252, allocations: 12 kB / 1.563 GB, free: 16 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001619/0.6268, allocations: 1.301 MB / 1.564 GB, free: 14.71 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6268, allocations: 0 / 1.564 GB, free: 14.71 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007438/0.6276, allocations: 203.7 kB / 1.564 GB, free: 14.51 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.003863/0.6314, allocations: 1.911 MB / 1.566 GB, free: 12.75 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.6329, allocations: 0.6505 MB / 1.567 GB, free: 12.09 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6329, allocations: 0 / 1.567 GB, free: 12.09 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.6338, allocations: 0.5207 MB / 1.567 GB, free: 11.54 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.6348, allocations: 208.3 kB / 1.567 GB, free: 11.35 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.6477, allocations: 8.582 MB / 1.576 GB, free: 2.539 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.6485, allocations: 1.161 MB / 1.577 GB, free: 1.348 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.6488, allocations: 92.81 kB / 1.577 GB, free: 1.258 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.6494, allocations: 415.3 kB / 1.577 GB, free: 0.8516 MB / 1.264 GB Notification: Performance of SimCode: time 1.232e-06/0.6494, allocations: 4 kB / 1.577 GB, free: 0.8477 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06271/0.7121, allocations: 21.61 MB / 1.598 GB, free: 11.41 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.99, allocations: 4 kB / 1.598 GB, free: 11.41 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 26.23188361013308]