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.001224/0.001224, allocations: 80.75 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.001492/0.001492, allocations: 181 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.9864/0.9864, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.404/2.404, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] 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.352e-06/1.352e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.379e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001992/0.002005, allocations: 1.752 MB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.003514, allocations: 1.744 MB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.003574, allocations: 4 kB / 0.8421 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.003919, allocations: 59.56 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.004078, allocations: 99.41 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.004181, allocations: 75.67 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.004347, allocations: 183.5 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.004378, allocations: 4 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02652/0.03089, allocations: 10.94 MB / 0.8532 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.03099, allocations: 67.78 kB / 0.8532 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.03101, allocations: 8 kB / 0.8532 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.03111, allocations: 55.86 kB / 0.8533 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.03116, allocations: 43.89 kB / 0.8533 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.0312, allocations: 35.86 kB / 0.8534 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.03143, allocations: 159.4 kB / 0.8535 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.03143, allocations: 4 kB / 0.8535 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.03143, allocations: 0 / 0.8535 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.03144, allocations: 4 kB / 0.8535 GB, free: 2.613 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.0003733/0.03181, allocations: 375.8 kB / 0.8539 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.03184, allocations: 12.03 kB / 0.8539 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.03188, allocations: 12.92 kB / 0.8539 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.03205, allocations: 174.5 kB / 0.8541 GB, free: 2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.03207, allocations: 16.3 kB / 0.8541 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.03208, allocations: 4.375 kB / 0.8541 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.0322, allocations: 93.66 kB / 0.8542 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.03221, allocations: 7.938 kB / 0.8542 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.03222, allocations: 4 kB / 0.8542 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.03222, allocations: 0 / 0.8542 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.03231, allocations: 83.86 kB / 0.8543 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.03242, allocations: 94.55 kB / 0.8544 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.03264, allocations: 141.3 kB / 0.8545 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.03267, allocations: 20.86 kB / 0.8545 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.03268, allocations: 4 kB / 0.8545 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.03278, allocations: 90.16 kB / 0.8546 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.03278, allocations: 7.984 kB / 0.8546 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001515/0.03294, allocations: 97.64 kB / 0.8547 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.03296, allocations: 63.28 kB / 0.8548 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.03306, allocations: 186.4 kB / 0.8549 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.03308, allocations: 33.7 kB / 0.855 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.03311, allocations: 96.09 kB / 0.8551 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.03315, allocations: 51.61 kB / 0.8551 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.03318, allocations: 29.7 kB / 0.8551 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.03326, allocations: 334.8 kB / 0.8555 GB, free: 472 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.03329, allocations: 18.81 kB / 0.8555 GB, free: 452 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.03332, allocations: 33.7 kB / 0.8555 GB, free: 412 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.03339, allocations: 66.7 kB / 0.8556 GB, free: 340 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.03339, allocations: 0 / 0.8556 GB, free: 340 kB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001044/0.0335, allocations: 92.42 kB / 0.8557 GB, free: 240 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.03351, allocations: 8 kB / 0.8557 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.03351, allocations: 112 / 0.8557 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.03352, allocations: 3.938 kB / 0.8557 GB, free: 228 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.03361, allocations: 35.86 kB / 0.8557 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.03361, allocations: 3.984 kB / 0.8557 GB, free: 188 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.03364, allocations: 11.97 kB / 0.8557 GB, free: 176 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.03365, allocations: 8 kB / 0.8557 GB, free: 168 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 6.398e-05/0.03371, allocations: 116.7 kB / 0.8558 GB, free: 40 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.03373, allocations: 11.98 kB / 0.8559 GB, free: 28 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.03391, allocations: 154.8 kB / 0.856 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.03391, allocations: 4 kB / 0.856 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.03391, allocations: 0 / 0.856 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.03392, allocations: 0 / 0.856 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.03402, allocations: 129.7 kB / 0.8561 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.03402, allocations: 4 kB / 0.8561 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.03408, allocations: 27.98 kB / 0.8562 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.03409, allocations: 4 kB / 0.8562 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.03409, allocations: 7.984 kB / 0.8562 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.03411, allocations: 4 kB / 0.8562 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.03411, allocations: 0 / 0.8562 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.03422, allocations: 142.6 kB / 0.8563 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.03424, allocations: 23.83 kB / 0.8563 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.03426, allocations: 7.938 kB / 0.8563 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.03429, allocations: 4 kB / 0.8563 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.03432, allocations: 15.97 kB / 0.8564 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.03433, allocations: 12 kB / 0.8564 GB, free: 15.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.03438, allocations: 60.78 kB / 0.8564 GB, free: 15.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03438, allocations: 0 / 0.8564 GB, free: 15.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001259/0.03451, allocations: 28 kB / 0.8565 GB, free: 15.37 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.001026/0.03553, allocations: 0.52 MB / 0.857 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.03564, allocations: 72.7 kB / 0.857 GB, free: 14.97 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.03564, allocations: 4 kB / 0.857 GB, free: 14.97 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.0357, allocations: 60.75 kB / 0.8571 GB, free: 14.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.03583, allocations: 44.67 kB / 0.8571 GB, free: 14.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.03618, allocations: 307.7 kB / 0.8574 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.03622, allocations: 79.97 kB / 0.8575 GB, free: 14.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.03628, allocations: 37.94 kB / 0.8575 GB, free: 14.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.03644, allocations: 95.34 kB / 0.8576 GB, free: 14.3 MB / 0.823 GB Notification: Performance of SimCode: time 5.61e-07/0.03644, allocations: 0 / 0.8576 GB, free: 14.3 MB / 0.823 GB Notification: Performance of Templates: time 0.004344/0.04079, allocations: 3.074 MB / 0.8606 GB, free: 11.25 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 -s gbode -gbm=radauIIA3 -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.320558737963438]