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.0007912/0.0007912, allocations: 92.22 kB / 19.65 MB, free: 276 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.0008911/0.0008911, allocations: 173 kB / 23.03 MB, free: 1.539 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.954/0.954, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.026/2.026, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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 1.553e-06/1.553e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.564e-05, allocations: 5.516 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001474/0.001489, allocations: 1.326 MB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.002169, allocations: 0.564 MB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.00219, allocations: 0 / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.002219, allocations: 0 / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.002264, allocations: 1.562 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.002694, allocations: 147.2 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.002745, allocations: 8.969 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.002784, allocations: 7.984 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.002816, allocations: 4 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.002856, allocations: 5.125 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.00287, allocations: 0 / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.003162, allocations: 271.4 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.003178, allocations: 1.031 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.003197, allocations: 4 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.003394, allocations: 152.6 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003396, allocations: 0 / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.1e-07/0.003397, allocations: 0 / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003401, allocations: 0.875 kB / 0.8806 GB, free: 3.82 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.0003102/0.003711, allocations: 376.3 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.003746, allocations: 8.75 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.003779, allocations: 4.938 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.003852, allocations: 110.3 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.003862, allocations: 384 / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.00387, allocations: 8.359 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.014e-05/0.00394, allocations: 30.25 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003947, allocations: 4.688 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.003955, allocations: 2.219 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.00396, allocations: 4.312 kB / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.626e-05/0.003976, allocations: 3.938 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.004088, allocations: 112.6 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.387e-05/0.004142, allocations: 35.02 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.004158, allocations: 13.03 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.004173, allocations: 0 / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004194, allocations: 41.39 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004195, allocations: 0.5938 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001174/0.004312, allocations: 46.56 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.004339, allocations: 51.41 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.004402, allocations: 163.5 kB / 0.8816 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.004411, allocations: 25.7 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.00444, allocations: 126.9 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.004462, allocations: 10.55 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.004484, allocations: 19.38 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.004584, allocations: 0.4884 MB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.004593, allocations: 0 / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.004599, allocations: 4 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.004621, allocations: 11.69 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004623, allocations: 1.875 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.115e-05/0.004664, allocations: 41.64 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.004676, allocations: 10.34 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.00468, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.004693, allocations: 3.984 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.004825, allocations: 12.34 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003099/0.005134, allocations: 0.901 MB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.005148, allocations: 0 / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005153, allocations: 0 / 0.8832 GB, free: 0.9531 MB / 0.8386 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 6.295e-05/0.005216, allocations: 160.6 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.005221, allocations: 3.938 kB / 0.8834 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.005301, allocations: 48.94 kB / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005303, allocations: 0 / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005307, allocations: 4.094 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005309, allocations: 0 / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.945e-05/0.005368, allocations: 112.6 kB / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00537, allocations: 0 / 0.8835 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.005417, allocations: 15.92 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005419, allocations: 0 / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005425, allocations: 3.938 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000245/0.00567, allocations: 0.8932 MB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005671, allocations: 0 / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.785e-05/0.005719, allocations: 80.44 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.005727, allocations: 7.953 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.005736, allocations: 4 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.941e-06/0.005742, allocations: 0 / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.005756, allocations: 0 / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005758, allocations: 0 / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.005787, allocations: 123.2 kB / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005787, allocations: 0 / 0.8846 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001255/0.005912, allocations: 11.92 kB / 0.8846 GB, free: 15.39 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.0001198/0.006032, allocations: 111.4 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.006149, allocations: 35.61 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00615, allocations: 0 / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.00619, allocations: 23.67 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.965e-05/0.006289, allocations: 3.938 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.006537, allocations: 106.5 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.006642, allocations: 59.34 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.332e-05/0.006656, allocations: 3.984 kB / 0.8849 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.00667, allocations: 8.5 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.006671, allocations: 3.938 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002126/0.008797, allocations: 0.5237 MB / 0.8855 GB, free: 14.5 MB / 0.8542 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.1358384089544415]