Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001887/0.001887, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002259/0.002259, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.887/2.887, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.651e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002335/0.002371, allocations: 1.265 MB / 0.9827 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003471, allocations: 0.5214 MB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.003504, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.003526, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.003579, allocations: 7.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.004243, allocations: 143.2 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.004317, allocations: 11.94 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.004399, allocations: 4 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.004447, allocations: 7.984 kB / 0.9833 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.004512, allocations: 3.938 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.004534, allocations: 0 / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005378/0.005071, allocations: 263.5 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.005098, allocations: 11.98 kB / 0.9836 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.005123, allocations: 7.875 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.005505, allocations: 151.5 kB / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.00551, allocations: 0 / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005511, allocations: 0 / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.005523, allocations: 0 / 0.9838 GB, free: 9.562 MB / 0.9356 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.0005535/0.006077, allocations: 281.9 kB / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.006128, allocations: 8.031 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.006175, allocations: 4.938 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.006332, allocations: 101.8 kB / 0.9841 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.006344, allocations: 4.375 kB / 0.9841 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.00636, allocations: 4.375 kB / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.006506, allocations: 38.23 kB / 0.9842 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.006522, allocations: 4.125 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.006532, allocations: 4.375 kB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006539, allocations: 384 / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.006574, allocations: 3.938 kB / 0.9842 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.006781, allocations: 97.33 kB / 0.9843 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.242e-05/0.006873, allocations: 26.67 kB / 0.9843 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.006904, allocations: 12.84 kB / 0.9843 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.006932, allocations: 4 kB / 0.9843 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.006972, allocations: 34.56 kB / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.006974, allocations: 0 / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.007175, allocations: 41.64 kB / 0.9844 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.007229, allocations: 51.41 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.007346, allocations: 101.8 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.007366, allocations: 25.7 kB / 0.9846 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.007427, allocations: 84.14 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.007462, allocations: 7.953 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.007491, allocations: 13.97 kB / 0.9847 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.007642, allocations: 310.8 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.007659, allocations: 8 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.007673, allocations: 7.984 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.007707, allocations: 12.8 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007709, allocations: 0 / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.791e-05/0.007777, allocations: 41.66 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.007798, allocations: 4 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.007804, allocations: 3.938 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.007824, allocations: 4.094 kB / 0.9851 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.008035, allocations: 15.98 kB / 0.9851 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004832/0.008518, allocations: 0.5859 MB / 0.9856 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.008535, allocations: 0 / 0.9856 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.008543, allocations: 0 / 0.9856 GB, free: 7.441 MB / 0.9356 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 0.0001085/0.008651, allocations: 113.8 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.008661, allocations: 3.938 kB / 0.9858 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.008799, allocations: 45 kB / 0.9858 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.0088, allocations: 4.125 kB / 0.9858 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.008806, allocations: 0 / 0.9858 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.00881, allocations: 0 / 0.9858 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.008947, allocations: 109.2 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008948, allocations: 0 / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.009024, allocations: 8 kB / 0.9859 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009026, allocations: 0 / 0.9859 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.009041, allocations: 7.922 kB / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/0.009441, allocations: 0.5898 MB / 0.9865 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009442, allocations: 0 / 0.9865 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.009521, allocations: 65.2 kB / 0.9866 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.009528, allocations: 7.984 kB / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.009538, allocations: 0 / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.009552, allocations: 0 / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.009567, allocations: 0 / 0.9866 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.009572, allocations: 4 kB / 0.9866 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.009618, allocations: 83.22 kB / 0.9866 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009618, allocations: 0 / 0.9866 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001964/0.009814, allocations: 8 kB / 0.9867 GB, free: 6.316 MB / 0.9356 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.0001903/0.01, allocations: 115.3 kB / 0.9868 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.01017, allocations: 15.98 kB / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01017, allocations: 0 / 0.9868 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.01026, allocations: 11.98 kB / 0.9868 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.01041, allocations: 11.94 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01078, allocations: 104.7 kB / 0.9869 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.01084, allocations: 59.48 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.01085, allocations: 4 kB / 0.987 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.01087, allocations: 8.5 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.01087, allocations: 0 / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.003055/0.01393, allocations: 498.2 kB / 0.9874 GB, free: 5.492 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.23743972927332]