Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.001313/0.001313, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001498/0.001498, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.196e-05, allocations: 3.031 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002933/0.002965, allocations: 1.372 MB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.004712, allocations: 0.8392 MB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.004753, allocations: 0 / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.004776, allocations: 0.9688 kB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.004872, allocations: 15.84 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.005658, allocations: 206.2 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.005761, allocations: 43.78 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.0058, allocations: 1.062 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.005863, allocations: 23.97 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.005915, allocations: 11.92 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.005931, allocations: 4.719 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000706/0.006637, allocations: 371.5 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.006663, allocations: 9.594 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.006698, allocations: 11.98 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.007259, allocations: 295.2 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007262, allocations: 0 / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.133e-06/0.007264, allocations: 8.375 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.007269, allocations: 1.969 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006093/0.007878, allocations: 341.3 kB / 0.8811 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.007927, allocations: 12.03 kB / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.008292, allocations: 24.84 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.008448, allocations: 113.8 kB / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.008468, allocations: 5.719 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.008481, allocations: 4.375 kB / 0.8812 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.008654, allocations: 42.23 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.008664, allocations: 1.531 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.008676, allocations: 384 / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.008682, allocations: 384 / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.008803, allocations: 25.52 kB / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.009, allocations: 121.2 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.00917, allocations: 34.56 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.00924, allocations: 19.19 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.009258, allocations: 0 / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.009293, allocations: 30.56 kB / 0.8815 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.009294, allocations: 0 / 0.8815 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003445/0.009639, allocations: 79.8 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.009693, allocations: 55.39 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.009839, allocations: 125.5 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.009863, allocations: 29.7 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.009936, allocations: 92.08 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.009958, allocations: 4.078 kB / 0.8818 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.01003, allocations: 29.7 kB / 0.8819 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.0102, allocations: 318.8 kB / 0.8822 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.01029, allocations: 19.98 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.01036, allocations: 23.92 kB / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.01052, allocations: 48.89 kB / 0.8823 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01053, allocations: 0 / 0.8823 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.01076, allocations: 85.61 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01078, allocations: 4 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.0108, allocations: 8 kB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01082, allocations: 0 / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.01177, allocations: 83.88 kB / 0.8824 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.0141, allocations: 1.376 MB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/0.01416, allocations: 11.92 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.01417, allocations: 0 / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.01428, allocations: 122 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.0143, allocations: 7.891 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.01433, allocations: 7.625 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01433, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01433, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01433, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.01445, allocations: 117.2 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01446, allocations: 0 / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.01549, allocations: 103.9 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0155, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01551, allocations: 3.938 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.01767, allocations: 1.38 MB / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01768, allocations: 0 / 0.8855 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01789, allocations: 93.22 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.0179, allocations: 8.016 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.01791, allocations: 0 / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.01797, allocations: 7.984 kB / 0.8856 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.01799, allocations: 0 / 0.8856 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.018, allocations: 4 kB / 0.8856 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.01808, allocations: 95.27 kB / 0.8857 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01808, allocations: 0 / 0.8857 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002555/0.01833, allocations: 23.94 kB / 0.8857 GB, free: 13.78 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.01856, allocations: 115.2 kB / 0.8858 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.0197, allocations: 153.5 kB / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0197, allocations: 0 / 0.886 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.02082, allocations: 119.8 kB / 0.8861 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.02111, allocations: 11.92 kB / 0.8861 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.02168, allocations: 132.6 kB / 0.8862 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.346e-05/0.02175, allocations: 71.27 kB / 0.8863 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.02179, allocations: 0 / 0.8863 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.02182, allocations: 12.5 kB / 0.8863 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02182, allocations: 0 / 0.8863 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.004968/0.02679, allocations: 1.436 MB / 0.8877 GB, free: 11.71 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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: 8.528012279071845]