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.001879/0.001879, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.002062/0.002062, allocations: 162.9 kB / 22.46 MB, free: 5.359 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.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.02/3.02, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.1.",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.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.913e-05/5.11e-05, allocations: 6.219 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003832/0.003883, allocations: 1.66 MB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.006789, allocations: 1.67 MB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.006886, allocations: 4 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.007434, allocations: 59.62 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.00774, allocations: 103.5 kB / 1.004 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.007932, allocations: 71.62 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.008234, allocations: 179.5 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.341e-05/0.008297, allocations: 11.98 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.008464, allocations: 95.75 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.008648, allocations: 59.86 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.008687, allocations: 12 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.008907, allocations: 103.9 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.009018, allocations: 51.83 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.009106, allocations: 43.84 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004633/0.009569, allocations: 267.1 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.009576, allocations: 3.984 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/0.009578, allocations: 3.938 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.009583, allocations: 0 / 1.004 GB, free: 2.844 MB / 0.9512 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.0008149/0.0104, allocations: 413.1 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01044, allocations: 12.03 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.01052, allocations: 20.8 kB / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.01101, allocations: 218.4 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.01103, allocations: 4.375 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.01105, allocations: 4.375 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.01138, allocations: 157.5 kB / 1.005 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.0114, allocations: 3.938 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.01142, allocations: 8 kB / 1.005 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01142, allocations: 0 / 1.005 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.01178, allocations: 191.8 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.01206, allocations: 181.1 kB / 1.006 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.0126, allocations: 202.4 kB / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.01273, allocations: 56.83 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.01275, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.01303, allocations: 119.3 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01303, allocations: 0 / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0006339/0.01367, allocations: 265.5 kB / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.01374, allocations: 89.05 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.01402, allocations: 227 kB / 1.007 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.01405, allocations: 29.7 kB / 1.007 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.01415, allocations: 116.1 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.01421, allocations: 43.67 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.01428, allocations: 33.7 kB / 1.007 GB, free: 328 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.01447, allocations: 334.8 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.0146, allocations: 55.97 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.01476, allocations: 104.2 kB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.01505, allocations: 155.1 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01505, allocations: 0 / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004079/0.01546, allocations: 213.5 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01548, allocations: 7.938 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01548, allocations: 3.938 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.0155, allocations: 0 / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.01565, allocations: 27.98 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.01565, allocations: 0 / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.01573, allocations: 11.94 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01574, allocations: 8 kB / 1.008 GB, free: 15.38 MB / 0.9669 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 0.0001577/0.0159, allocations: 146.2 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.01595, allocations: 19.86 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.0165, allocations: 293.5 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.01651, allocations: 7.938 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01652, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.01652, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.01678, allocations: 189.1 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01678, allocations: 7.875 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.0169, allocations: 39.92 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0169, allocations: 4 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.01692, allocations: 7.984 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01692, allocations: 0 / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01693, allocations: 3.938 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.01741, allocations: 272.8 kB / 1.009 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.01745, allocations: 23.8 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.01749, allocations: 8 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.01757, allocations: 11.98 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.01763, allocations: 19.91 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.01765, allocations: 8 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002032/0.01786, allocations: 172.4 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01786, allocations: 0 / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003134/0.01817, allocations: 55.92 kB / 1.009 GB, free: 14.05 MB / 0.9669 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.002108/0.02028, allocations: 0.5354 MB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.02066, allocations: 151.9 kB / 1.01 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02066, allocations: 0 / 1.01 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.02084, allocations: 89.33 kB / 1.01 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.02117, allocations: 43.48 kB / 1.01 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.02195, allocations: 351.9 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02209, allocations: 112.1 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.02223, allocations: 61.89 kB / 1.01 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.02234, allocations: 40.47 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.02234, allocations: 0 / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.008755/0.03109, allocations: 3.447 MB / 1.014 GB, free: 9.461 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.034216731786728]