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.001744/0.001744, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002088/0.002088, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.203/3.203, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 62.83 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002783/0.3175, allocations: 1.28 MB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3186, allocations: 0.5142 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.3186, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.3186, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.3187, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.3193, allocations: 139.4 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.3193, allocations: 11.88 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3194, allocations: 7.984 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.3194, allocations: 0 / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.3194, allocations: 8 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3194, allocations: 0 / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.3199, allocations: 267.5 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.32, allocations: 8 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.32, allocations: 3.938 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3203, allocations: 131.6 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3203, allocations: 4 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3203, allocations: 0 / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3203, allocations: 0 / 1.367 GB, free: 11.18 MB / 1.061 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.0004163/0.3207, allocations: 277.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3207, allocations: 16.03 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3208, allocations: 0.9375 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3209, allocations: 110.5 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3209, allocations: 384 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3209, allocations: 8.375 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.321, allocations: 30.25 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.321, allocations: 7.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.321, allocations: 3.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.321, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.3211, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.3212, allocations: 101.3 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.3213, allocations: 30.53 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.3213, allocations: 8.859 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.3213, allocations: 3.984 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3213, allocations: 34.62 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3213, allocations: 0 / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.3215, allocations: 41.59 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3215, allocations: 51.41 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.3216, allocations: 102 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3216, allocations: 29.83 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.3217, allocations: 80.14 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3217, allocations: 7.938 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3217, allocations: 13.72 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3219, allocations: 314.8 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.3219, allocations: 0 / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.3219, allocations: 7.984 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.322, allocations: 12.86 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.322, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.336e-05/0.322, allocations: 45.72 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.322, allocations: 4 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3221, allocations: 4 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3221, allocations: 3.938 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3222, allocations: 15.92 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000448/0.3227, allocations: 0.5782 MB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.3227, allocations: 4 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.3227, allocations: 3.938 kB / 1.369 GB, free: 9.059 MB / 1.061 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.0001/0.3228, allocations: 119 kB / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.3228, allocations: 0 / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3229, allocations: 48.94 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3229, allocations: 0 / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3229, allocations: 0 / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3229, allocations: 4 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.878e-05/0.323, allocations: 105.2 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.323, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.3231, allocations: 8 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3231, allocations: 0 / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3231, allocations: 11.98 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000393/0.3235, allocations: 0.586 MB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3235, allocations: 0 / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.3236, allocations: 72.98 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.3236, allocations: 3.984 kB / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3236, allocations: 0 / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.3236, allocations: 0 / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.3237, allocations: 0 / 1.37 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.3237, allocations: 4 kB / 1.37 GB, free: 8.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.3237, allocations: 83.34 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3237, allocations: 0 / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002119/0.3239, allocations: 11.94 kB / 1.37 GB, free: 7.918 MB / 1.061 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.000178/0.3241, allocations: 111.2 kB / 1.37 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3243, allocations: 19.98 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3243, allocations: 0 / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.3244, allocations: 15.92 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.3245, allocations: 4.219 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.3249, allocations: 134.7 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.3249, allocations: 59.34 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3249, allocations: 7.438 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3249, allocations: 0 / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of Templates: time 0.002558/0.3275, allocations: 0.7151 MB / 1.371 GB, free: 6.801 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.220345326699317]