Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002842/1.107, allocations: 1.294 MB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001186/1.108, allocations: 0.6012 MB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/1.108, allocations: 0 / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/1.108, allocations: 5.172 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/1.108, allocations: 9.391 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/1.109, allocations: 148.1 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/1.109, allocations: 21.61 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/1.109, allocations: 1.719 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.639e-05/1.109, allocations: 9.734 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/1.109, allocations: 18.05 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/1.109, allocations: 1.031 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/1.11, allocations: 344.4 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/1.11, allocations: 4.969 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/1.11, allocations: 8.094 kB / 1.274 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/1.11, allocations: 147.2 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.11, allocations: 0 / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.11, allocations: 0.9062 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.68e-06/1.11, allocations: 0 / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004413/1.11, allocations: 361.9 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.111, allocations: 9.438 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/1.111, allocations: 1.969 kB / 1.275 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.111, allocations: 175.8 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.111, allocations: 5.156 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.111, allocations: 2.344 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.111, allocations: 44.91 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.111, allocations: 4.188 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.111, allocations: 3.938 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.111, allocations: 0.875 kB / 1.275 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/1.111, allocations: 16.95 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/1.111, allocations: 247.8 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/1.111, allocations: 48.81 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/1.111, allocations: 20.06 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.112, allocations: 2.203 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.112, allocations: 31.53 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/1.112, allocations: 4.938 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/1.112, allocations: 57.19 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/1.112, allocations: 52.19 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/1.112, allocations: 94.88 kB / 1.276 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/1.112, allocations: 26.52 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/1.112, allocations: 92.59 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/1.112, allocations: 12.8 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/1.112, allocations: 17.69 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/1.112, allocations: 317.4 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/1.112, allocations: 12.78 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/1.112, allocations: 17.27 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.357e-05/1.112, allocations: 30.28 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.112, allocations: 1 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.546e-05/1.112, allocations: 64.08 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.112, allocations: 4.719 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.112, allocations: 8.75 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.112, allocations: 1.625 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/1.112, allocations: 8.75 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.112, allocations: 1 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/1.112, allocations: 1.906 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.112, allocations: 1.781 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/1.112, allocations: 115 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/1.112, allocations: 12.91 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/1.112, allocations: 64.27 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.112, allocations: 0.9688 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.113, allocations: 0 / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.113, allocations: 1.656 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.113, allocations: 165.8 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.113, allocations: 0.7812 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/1.113, allocations: 7.516 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.113, allocations: 4.781 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.113, allocations: 0.8125 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.113, allocations: 0 / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.113, allocations: 4.875 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/1.113, allocations: 151.3 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/1.113, allocations: 83.34 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/1.113, allocations: 0.6875 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/1.113, allocations: 0.7188 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/1.113, allocations: 3.875 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/1.113, allocations: 0.75 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.897e-05/1.113, allocations: 82.38 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.113, allocations: 4.875 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002567/1.113, allocations: 19.23 kB / 1.277 GB, free: 3.852 MB / 0.9981 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/1.113, allocations: 122.8 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001371/1.114, allocations: 25.94 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.114, allocations: 0 / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/1.114, allocations: 13.03 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/1.114, allocations: 6.094 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/1.114, allocations: 133.8 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/1.114, allocations: 0.6786 MB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.076e-05/1.114, allocations: 11.91 kB / 1.278 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/1.114, allocations: 9.531 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/1.114, allocations: 1.062 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of Templates: time 0.003172/1.117, allocations: 0.5235 MB / 1.278 GB, free: 2.812 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: 9.452254283241928]