Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001128/0.001128, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002695, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007247/0.0007247, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009622/0.001687, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09714/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.336/2.336, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.217/2.553, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.377e-06/1.086e-05, allocations: 2.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001926/0.001937, allocations: 1.431 MB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.006198, allocations: 1.047 MB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.006217, allocations: 4 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.163e-06/0.006224, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.389e-05/0.006248, allocations: 7.922 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.006764, allocations: 274.6 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.006815, allocations: 19.88 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.006852, allocations: 8 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.006901, allocations: 15.98 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.006958, allocations: 11.97 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.006967, allocations: 0 / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.007616, allocations: 0.495 MB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.007628, allocations: 0 / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.007658, allocations: 8 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.008008, allocations: 259.2 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.00802, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.31e-07/0.008021, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.008033, allocations: 3.938 kB / 0.8225 GB, free: 14.81 MB / 0.8073 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.0004437/0.008477, allocations: 331.8 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.008507, allocations: 12.03 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.008536, allocations: 0.9375 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.01163, allocations: 109.8 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01164, allocations: 384 / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.01165, allocations: 384 / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.01172, allocations: 46.19 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.01173, allocations: 192 / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.01174, allocations: 384 / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.01174, allocations: 384 / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.01177, allocations: 23.86 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.01195, allocations: 152.3 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.01209, allocations: 30.58 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.01211, allocations: 20.89 kB / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.01212, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.01214, allocations: 34.56 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.52e-07/0.01214, allocations: 0 / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001028/0.01224, allocations: 49.8 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.01227, allocations: 55.34 kB / 0.8233 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.01232, allocations: 106.7 kB / 0.8234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.01233, allocations: 25.7 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.01242, allocations: 84.14 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.01243, allocations: 19.83 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.01246, allocations: 13.72 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.01254, allocations: 314.8 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-06/0.01255, allocations: 4 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.01257, allocations: 25.7 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.0126, allocations: 29.64 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.0126, allocations: 0 / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.412e-05/0.01266, allocations: 49.69 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01267, allocations: 4 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01267, allocations: 0 / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01268, allocations: 0 / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.01273, allocations: 19.86 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.01273, allocations: 0 / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.01274, allocations: 4 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.01275, allocations: 0 / 0.824 GB, free: 13.11 MB / 0.8073 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 4.78e-05/0.0128, allocations: 113.8 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.01281, allocations: 0 / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.0129, allocations: 57.39 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.0129, allocations: 0 / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.0129, allocations: 3.938 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.0129, allocations: 7.875 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.01301, allocations: 69.86 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01301, allocations: 0 / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.01303, allocations: 4 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.01304, allocations: 7.984 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.01304, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.01304, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01304, allocations: 7.984 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.01305, allocations: 3.938 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.01312, allocations: 135.5 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.01313, allocations: 8 kB / 0.8244 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.01317, allocations: 0 / 0.8244 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.01318, allocations: 3.984 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.01318, allocations: 0 / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.396e-05/0.0132, allocations: 17.06 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0132, allocations: 0 / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00023/0.01343, allocations: 47.75 kB / 0.8244 GB, free: 12.58 MB / 0.8073 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.0001976/0.01362, allocations: 144.2 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.459e-05/0.01369, allocations: 28.97 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.01369, allocations: 0 / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.01371, allocations: 20.8 kB / 0.8246 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.01385, allocations: 17.47 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.01432, allocations: 124.5 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.01437, allocations: 55.36 kB / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.0144, allocations: 4.094 kB / 0.8248 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.01443, allocations: 51.38 kB / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.01443, allocations: 0 / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.002516/0.01695, allocations: 1.039 MB / 0.8259 GB, free: 11.05 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077235108241439]