Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009902/0.0009902, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001566/0.001566, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9386/0.9386, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.807/1.807, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.428e-05, allocations: 6.125 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001868/0.001892, allocations: 1.305 MB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.002652, allocations: 0.5604 MB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.002681, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002707, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.002755, allocations: 4.75 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.003285, allocations: 146.3 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.003349, allocations: 19.92 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.003396, allocations: 0 / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.003431, allocations: 4 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.003483, allocations: 3.984 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.003504, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.003923, allocations: 271.4 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003942, allocations: 1.125 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.003964, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.004216, allocations: 159.4 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004219, allocations: 0.5938 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.532e-06/0.00422, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.004226, allocations: 1.188 kB / 0.7895 GB, free: 10.02 MB / 0.7448 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.0003728/0.004599, allocations: 376 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.004637, allocations: 8.031 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.004675, allocations: 2.469 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.004767, allocations: 113 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.004785, allocations: 384 / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.004796, allocations: 1.844 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.00489, allocations: 34.2 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.004901, allocations: 192 / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.004911, allocations: 4.375 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.004921, allocations: 2.594 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.004943, allocations: 11.88 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.005084, allocations: 120.5 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.005133, allocations: 31.09 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.005151, allocations: 7.688 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.005177, allocations: 4.594 kB / 0.7902 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005199, allocations: 42.05 kB / 0.7902 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.0052, allocations: 0 / 0.7902 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.005337, allocations: 42.19 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.005366, allocations: 57 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.005439, allocations: 153.9 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005449, allocations: 25.7 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.005807, allocations: 131.5 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.005832, allocations: 3.953 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.005859, allocations: 24.17 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005979, allocations: 496.1 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.005991, allocations: 0.5625 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.006002, allocations: 8.531 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.006029, allocations: 16.38 kB / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.006031, allocations: 0 / 0.7911 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.167e-05/0.006083, allocations: 39.06 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006097, allocations: 5.719 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006102, allocations: 0 / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.006118, allocations: 1.688 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.006261, allocations: 12 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003349/0.006596, allocations: 0.901 MB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.00661, allocations: 5.125 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.006616, allocations: 0 / 0.7921 GB, free: 7.152 MB / 0.7448 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 7.387e-05/0.00669, allocations: 157.3 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.006696, allocations: 7.938 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.006787, allocations: 46.44 kB / 0.7923 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.006789, allocations: 0 / 0.7923 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.006792, allocations: 0 / 0.7923 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006795, allocations: 1.969 kB / 0.7923 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.927e-05/0.006855, allocations: 112.6 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006856, allocations: 0 / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.00691, allocations: 11.98 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006912, allocations: 3.938 kB / 0.7924 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.006918, allocations: 4.594 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/0.007186, allocations: 0.8956 MB / 0.7933 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007187, allocations: 0 / 0.7933 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.94e-05/0.007247, allocations: 84.31 kB / 0.7934 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.007253, allocations: 0 / 0.7934 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.007263, allocations: 0 / 0.7934 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.007273, allocations: 1.844 kB / 0.7934 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.007289, allocations: 7.984 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.007293, allocations: 3.984 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.007326, allocations: 119.2 kB / 0.7935 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007326, allocations: 0.5312 kB / 0.7935 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001453/0.007471, allocations: 11.94 kB / 0.7935 GB, free: 5.598 MB / 0.7448 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.0001415/0.007613, allocations: 117.4 kB / 0.7936 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.007763, allocations: 23.67 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007765, allocations: 0 / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.007812, allocations: 28.27 kB / 0.7937 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.007927, allocations: 8.719 kB / 0.7937 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.008215, allocations: 106 kB / 0.7938 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.008245, allocations: 59.34 kB / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.008259, allocations: 0 / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.008276, allocations: 8.5 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.008277, allocations: 0 / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of Templates: time 0.002265/0.01054, allocations: 481 kB / 0.7943 GB, free: 4.75 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.192553506232798]