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.001405/0.001405, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001728/0.001728, allocations: 181 kB / 24.09 MB, free: 420 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 0.9761/0.9761, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.764/1.764, allocations: 359 MB / 0.6055 GB, free: 10.89 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.423e-06/1.423e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.229e-05, allocations: 3.812 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.005003/0.005025, allocations: 1.321 MB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.005802, allocations: 0.5445 MB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.005831, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.00585, allocations: 0 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.005897, allocations: 0.5 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.006308, allocations: 148.3 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.56e-05/0.006353, allocations: 12.5 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.006395, allocations: 0.6875 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.006431, allocations: 7.984 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.006476, allocations: 0.9062 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.006491, allocations: 4 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.00684, allocations: 276 kB / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.006855, allocations: 0 / 0.7898 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.006872, allocations: 8.531 kB / 0.7898 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.00712, allocations: 143.5 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.007124, allocations: 1.656 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.445e-06/0.007127, allocations: 7.984 kB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.007131, allocations: 0 / 0.7899 GB, free: 9.746 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.000326/0.007457, allocations: 380 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.0075, allocations: 9.438 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.007527, allocations: 4.938 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.524e-05/0.007592, allocations: 105 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.0076, allocations: 1.969 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-06/0.007606, allocations: 4.375 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.914e-05/0.007665, allocations: 30.25 kB / 0.7905 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.007671, allocations: 4.125 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-06/0.007676, allocations: 3.844 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.007681, allocations: 4.375 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.036e-05/0.007691, allocations: 7.922 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.324e-05/0.007785, allocations: 105.2 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.007818, allocations: 27.09 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.007833, allocations: 11.69 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.007856, allocations: 8.047 kB / 0.7906 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.007874, allocations: 33.39 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.007875, allocations: 0.5312 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 8.925e-05/0.007964, allocations: 42.27 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.007989, allocations: 52.12 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.008043, allocations: 155.2 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.008052, allocations: 25.7 kB / 0.7909 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.008083, allocations: 130.9 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.008107, allocations: 11.94 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.008128, allocations: 15.94 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.008234, allocations: 0.4895 MB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.008245, allocations: 0 / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.00825, allocations: 0 / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.008272, allocations: 20.59 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008274, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.843e-05/0.008312, allocations: 38.19 kB / 0.7916 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.008324, allocations: 11.25 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008328, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.008337, allocations: 0.8438 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.008439, allocations: 11.98 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002904/0.00873, allocations: 0.9021 MB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.008742, allocations: 3.938 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.008745, allocations: 2.219 kB / 0.7925 GB, free: 6.91 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 5.953e-05/0.008805, allocations: 156.6 kB / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-06/0.008809, allocations: 0 / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.008881, allocations: 48.94 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.008882, allocations: 2.781 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.008883, allocations: 0 / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008885, allocations: 0 / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.871e-05/0.008944, allocations: 97.27 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.008945, allocations: 0 / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.008992, allocations: 11.98 kB / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008994, allocations: 0 / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-06/0.008998, allocations: 0 / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002501/0.009248, allocations: 0.9025 MB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009248, allocations: 0 / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.391e-05/0.009292, allocations: 73 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.0093, allocations: 8.484 kB / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-06/0.009306, allocations: 0 / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.009313, allocations: 8.438 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.009324, allocations: 8.578 kB / 0.7938 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.009325, allocations: 0 / 0.7938 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.009356, allocations: 120.5 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009356, allocations: 0 / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001184/0.009474, allocations: 11.94 kB / 0.7939 GB, free: 5.383 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.0001194/0.009594, allocations: 113.8 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.37e-05/0.009687, allocations: 23.67 kB / 0.7941 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.009689, allocations: 0 / 0.7941 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.009723, allocations: 24.36 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.593e-05/0.009819, allocations: 3.938 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.01002, allocations: 112.4 kB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.465e-05/0.01005, allocations: 59.34 kB / 0.7942 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.01006, allocations: 0.8438 kB / 0.7942 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.01009, allocations: 66.2 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01009, allocations: 1.156 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.001846/0.01193, allocations: 0.5148 MB / 0.7948 GB, free: 4.441 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: 4.8374720136635005]