Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.00109/0.00109, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001491/0.001491, allocations: 161 kB / 24.16 MB, free: 336 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.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.026/2.026, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.711e-05, allocations: 9.344 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002764/0.002791, allocations: 1.362 MB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.003777, allocations: 0.5582 MB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.003802, allocations: 4 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.003819, allocations: 0 / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.00387, allocations: 1.641 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.004343, allocations: 138.8 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.0044, allocations: 14.98 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.004444, allocations: 3.984 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.004488, allocations: 11.97 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.004539, allocations: 4 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004552, allocations: 0 / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.005019, allocations: 276.2 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.005032, allocations: 0 / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.005047, allocations: 2.031 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.005311, allocations: 155.5 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005314, allocations: 0 / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005315, allocations: 0 / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.00532, allocations: 3.938 kB / 0.7625 GB, free: 4.102 MB / 0.7136 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.0003088/0.005629, allocations: 244.3 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.005671, allocations: 13.44 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.005699, allocations: 4.938 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/0.005794, allocations: 105.8 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.005803, allocations: 1.625 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.005809, allocations: 4.312 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.92e-05/0.005878, allocations: 34.25 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.005885, allocations: 1.062 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.005891, allocations: 384 / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005897, allocations: 1.406 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.407e-05/0.005911, allocations: 7.938 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.006013, allocations: 53.05 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.006058, allocations: 23.23 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.006074, allocations: 15.2 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.00609, allocations: 3.984 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.006116, allocations: 34.56 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.006117, allocations: 0 / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001005/0.006217, allocations: 33.64 kB / 0.7631 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.006251, allocations: 58.16 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.006316, allocations: 102.7 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.006326, allocations: 25.7 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.006354, allocations: 84.14 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.006379, allocations: 8.234 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.006409, allocations: 13.72 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.006507, allocations: 324.1 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-06/0.006516, allocations: 0 / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.006524, allocations: 4 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.006552, allocations: 13.78 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006554, allocations: 0 / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.745e-05/0.006611, allocations: 34.58 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.006624, allocations: 8 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.006629, allocations: 0.75 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.006643, allocations: 0 / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.006776, allocations: 8.484 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003093/0.007085, allocations: 0.5815 MB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.007103, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00711, allocations: 4 kB / 0.7643 GB, free: 2.113 MB / 0.7136 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.593e-05/0.007176, allocations: 109.8 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.007183, allocations: 3.984 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.007268, allocations: 44.91 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.007272, allocations: 6.406 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007275, allocations: 7.938 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007279, allocations: 3.984 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.327e-05/0.007342, allocations: 61.91 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007344, allocations: 0 / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.007409, allocations: 8 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.007413, allocations: 3.984 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.007417, allocations: 0.875 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002527/0.00767, allocations: 0.5909 MB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.007671, allocations: 0 / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.781e-05/0.007729, allocations: 58 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-06/0.007737, allocations: 3.938 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.007745, allocations: 0 / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.007756, allocations: 5.125 kB / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.007766, allocations: 0 / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.007769, allocations: 0 / 0.7652 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.089e-05/0.007779, allocations: 10.58 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.00778, allocations: 4 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001896/0.007969, allocations: 7.938 kB / 0.7652 GB, free: 1.121 MB / 0.7136 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.000156/0.008125, allocations: 89.72 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.008255, allocations: 29.92 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.008259, allocations: 0 / 0.7653 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.008305, allocations: 16.84 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.485e-05/0.00838, allocations: 1 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.008659, allocations: 113.9 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.392e-05/0.008693, allocations: 51.36 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.00871, allocations: 1.5 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.008742, allocations: 55.31 kB / 0.7655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.008742, allocations: 4.75 kB / 0.7656 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of Templates: time 0.002596/0.01134, allocations: 0.5209 MB / 0.7661 GB, free: 224 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.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.10140415141359]