Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001353/0.001353, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001623/0.001623, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9712/0.9712, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.257/2.257, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.422e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003292/0.003317, allocations: 1.712 MB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.005816, allocations: 1.738 MB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.005901, allocations: 0 / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.006386, allocations: 67.52 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.006711, allocations: 107.5 kB / 0.8421 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.006921, allocations: 67.67 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.007175, allocations: 183.5 kB / 0.8424 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.007221, allocations: 7.984 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04296/0.05018, allocations: 10.94 MB / 0.8531 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.05033, allocations: 59.86 kB / 0.8531 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.05037, allocations: 16 kB / 0.8531 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.05053, allocations: 47.92 kB / 0.8532 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.05062, allocations: 47.83 kB / 0.8532 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.05068, allocations: 43.84 kB / 0.8533 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.05102, allocations: 155.4 kB / 0.8534 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.05103, allocations: 0 / 0.8534 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.212e-06/0.05103, allocations: 0 / 0.8534 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.05103, allocations: 0 / 0.8534 GB, free: 2.68 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005497/0.05158, allocations: 375.8 kB / 0.8538 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.05162, allocations: 8.031 kB / 0.8538 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.05167, allocations: 16.92 kB / 0.8538 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.05195, allocations: 194.3 kB / 0.854 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.05197, allocations: 384 / 0.854 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.05199, allocations: 16.34 kB / 0.854 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.05217, allocations: 93.66 kB / 0.8541 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.05218, allocations: 3.938 kB / 0.8541 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.0522, allocations: 4 kB / 0.8541 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.0522, allocations: 0 / 0.8541 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.05236, allocations: 83.86 kB / 0.8542 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.05252, allocations: 82.69 kB / 0.8543 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.05286, allocations: 149.2 kB / 0.8544 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.05291, allocations: 24.91 kB / 0.8544 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.05293, allocations: 4 kB / 0.8544 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.05307, allocations: 86.17 kB / 0.8545 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.05307, allocations: 0 / 0.8545 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002396/0.05331, allocations: 108.5 kB / 0.8546 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.05335, allocations: 55.34 kB / 0.8547 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.05352, allocations: 190.4 kB / 0.8549 GB, free: 1.082 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.05354, allocations: 25.7 kB / 0.8549 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.05358, allocations: 104.1 kB / 0.855 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.05364, allocations: 55.61 kB / 0.855 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.05369, allocations: 25.7 kB / 0.8551 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.05378, allocations: 330.8 kB / 0.8554 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.05383, allocations: 18.81 kB / 0.8554 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.05388, allocations: 41.62 kB / 0.8554 GB, free: 472 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.05399, allocations: 63.28 kB / 0.8555 GB, free: 400 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.05399, allocations: 0 / 0.8555 GB, free: 400 kB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000168/0.05416, allocations: 88.48 kB / 0.8556 GB, free: 304 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.05418, allocations: 8.031 kB / 0.8556 GB, free: 296 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.05418, allocations: 0 / 0.8556 GB, free: 296 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/0.05422, allocations: 4 kB / 0.8556 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.05434, allocations: 31.86 kB / 0.8556 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.05434, allocations: 0 / 0.8556 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.05439, allocations: 4 kB / 0.8556 GB, free: 256 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.05441, allocations: 7.984 kB / 0.8556 GB, free: 248 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.0545, allocations: 120.7 kB / 0.8557 GB, free: 116 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.05453, allocations: 15.98 kB / 0.8558 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.05479, allocations: 150.8 kB / 0.8559 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.0548, allocations: 4 kB / 0.8559 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.0548, allocations: 0 / 0.8559 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.05481, allocations: 7.922 kB / 0.8559 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.05497, allocations: 129.7 kB / 0.856 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.05497, allocations: 0 / 0.856 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.05508, allocations: 27.98 kB / 0.8561 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.05508, allocations: 0 / 0.8561 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.05511, allocations: 11.94 kB / 0.8561 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.05511, allocations: 0 / 0.8561 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.05511, allocations: 3.984 kB / 0.8561 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.05531, allocations: 146.7 kB / 0.8562 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.05534, allocations: 15.84 kB / 0.8562 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.05537, allocations: 11.94 kB / 0.8562 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.05543, allocations: 11.98 kB / 0.8563 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.05547, allocations: 11.97 kB / 0.8563 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.05549, allocations: 8 kB / 0.8563 GB, free: 15.53 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.268e-05/0.05556, allocations: 52.59 kB / 0.8563 GB, free: 15.47 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.05556, allocations: 0 / 0.8563 GB, free: 15.47 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002469/0.05581, allocations: 39.98 kB / 0.8564 GB, free: 15.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001586/0.0574, allocations: 0.5254 MB / 0.8569 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.05757, allocations: 76.7 kB / 0.8569 GB, free: 15.03 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.05757, allocations: 4 kB / 0.857 GB, free: 15.03 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.05766, allocations: 52.75 kB / 0.857 GB, free: 14.97 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.05786, allocations: 36.69 kB / 0.857 GB, free: 14.94 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.0584, allocations: 315.7 kB / 0.8573 GB, free: 14.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.577e-05/0.05846, allocations: 75.98 kB / 0.8574 GB, free: 14.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.786e-05/0.05856, allocations: 41.98 kB / 0.8574 GB, free: 14.46 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.05875, allocations: 91.34 kB / 0.8575 GB, free: 14.37 MB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/0.05875, allocations: 0 / 0.8575 GB, free: 14.37 MB / 0.823 GB Notification: Performance of Templates: time 0.006583/0.06534, allocations: 3.074 MB / 0.8605 GB, free: 11.32 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.253727891948074]