Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001111/0.001111, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001182/0.001182, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.2/2.2, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] 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.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0.6562 kB / 0.8794 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.421e-05/5.667e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00359/0.003647, allocations: 1.326 MB / 0.8807 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004796, allocations: 0.5529 MB / 0.8813 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.00484, allocations: 0.7188 kB / 0.8813 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.004869, allocations: 0 / 0.8813 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.004933, allocations: 0.6562 kB / 0.8813 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.005747, allocations: 152.8 kB / 0.8814 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.005813, allocations: 7.938 kB / 0.8814 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.005864, allocations: 2 kB / 0.8814 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.005905, allocations: 7.984 kB / 0.8814 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.005973, allocations: 4 kB / 0.8814 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.005989, allocations: 0 / 0.8814 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.006502, allocations: 267.4 kB / 0.8817 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.006524, allocations: 2.531 kB / 0.8817 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.006546, allocations: 4 kB / 0.8817 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.006863, allocations: 151.5 kB / 0.8818 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.006867, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.563e-06/0.006868, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.006874, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.7917 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.000497/0.007371, allocations: 380.3 kB / 0.8822 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.007425, allocations: 8.75 kB / 0.8822 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.007464, allocations: 8.828 kB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.007587, allocations: 110.3 kB / 0.8823 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.007602, allocations: 384 / 0.8823 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.007611, allocations: 384 / 0.8823 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.007704, allocations: 34.25 kB / 0.8823 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007714, allocations: 1.531 kB / 0.8823 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.007722, allocations: 384 / 0.8823 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007729, allocations: 384 / 0.8823 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.007752, allocations: 15.94 kB / 0.8824 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.007922, allocations: 93.3 kB / 0.8825 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.838e-05/0.00799, allocations: 34.98 kB / 0.8825 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.008009, allocations: 7.688 kB / 0.8825 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.008031, allocations: 3.984 kB / 0.8825 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.008069, allocations: 41.45 kB / 0.8825 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.008071, allocations: 0 / 0.8825 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.008222, allocations: 37.7 kB / 0.8826 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.008265, allocations: 59.28 kB / 0.8826 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.008362, allocations: 162 kB / 0.8828 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008376, allocations: 25.7 kB / 0.8828 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.008423, allocations: 126.9 kB / 0.8829 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.008455, allocations: 3.953 kB / 0.8829 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.008494, allocations: 19.38 kB / 0.883 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.008664, allocations: 0.4883 MB / 0.8834 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.008679, allocations: 4 kB / 0.8834 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.008691, allocations: 8 kB / 0.8834 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.008725, allocations: 15.67 kB / 0.8835 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008728, allocations: 192 / 0.8835 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.739e-05/0.008815, allocations: 41.64 kB / 0.8835 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.00883, allocations: 4 kB / 0.8835 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.008837, allocations: 0 / 0.8835 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.008852, allocations: 4 kB / 0.8835 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.009009, allocations: 11.97 kB / 0.8835 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005063/0.009515, allocations: 0.8972 MB / 0.8844 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.009547, allocations: 7.891 kB / 0.8844 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.009553, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8073 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 (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 prepare postOptimizeDAE: time 9.758e-05/0.009651, allocations: 156.7 kB / 0.8845 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.009661, allocations: 4 kB / 0.8846 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.009788, allocations: 48.88 kB / 0.8846 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.009791, allocations: 4 kB / 0.8846 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.009794, allocations: 0 / 0.8846 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.009798, allocations: 0 / 0.8846 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.009886, allocations: 93.25 kB / 0.8847 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009889, allocations: 4 kB / 0.8847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.009976, allocations: 11.98 kB / 0.8847 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.009981, allocations: 4.031 kB / 0.8847 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.009986, allocations: 0 / 0.8847 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004016/0.01039, allocations: 0.8932 MB / 0.8856 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01039, allocations: 3.938 kB / 0.8856 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.01047, allocations: 68.44 kB / 0.8857 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.01048, allocations: 7.938 kB / 0.8857 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.0105, allocations: 4 kB / 0.8857 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.01051, allocations: 0 / 0.8857 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.01053, allocations: 7.922 kB / 0.8857 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01053, allocations: 4.094 kB / 0.8857 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.01058, allocations: 123.2 kB / 0.8858 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01058, allocations: 0 / 0.8858 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002511/0.01083, allocations: 8 kB / 0.8858 GB, free: 14.02 MB / 0.8073 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.0001945/0.01103, allocations: 107.2 kB / 0.8859 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.0112, allocations: 27.61 kB / 0.8859 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0112, allocations: 0 / 0.8859 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.01126, allocations: 31.81 kB / 0.886 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01144, allocations: 4 kB / 0.886 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.01176, allocations: 106.4 kB / 0.8861 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.0118, allocations: 55.34 kB / 0.8861 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.01182, allocations: 0 / 0.8861 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.01186, allocations: 70.2 kB / 0.8862 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.01186, allocations: 0 / 0.8862 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.003277/0.01514, allocations: 0.5463 MB / 0.8867 GB, free: 13.05 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.750956400763243]