Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001069/0.001069, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002506, allocations: 449.7 kB / 10.37 MB, free: 324 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.001086/0.001086, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002508, allocations: 459.6 kB / 11.71 MB, free: 2.453 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 0.9189/0.9189, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5098/2.312, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.506e-06/9.848e-06, allocations: 4.844 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001438/0.001448, allocations: 1.392 MB / 0.7307 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.00247, allocations: 1.053 MB / 0.7317 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.002496, allocations: 4.938 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.265e-06/0.002504, allocations: 0 / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.00253, allocations: 10.11 kB / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.003108, allocations: 272.9 kB / 0.732 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.003168, allocations: 24.53 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.003204, allocations: 0.6875 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.003254, allocations: 19.91 kB / 0.7321 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.003305, allocations: 9.703 kB / 0.7321 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.003316, allocations: 0 / 0.7321 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.003864, allocations: 0.4951 MB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.003875, allocations: 7.938 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003891, allocations: 4.812 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.004183, allocations: 255.2 kB / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.004196, allocations: 0 / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004197, allocations: 0.5 kB / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.004209, allocations: 4.594 kB / 0.7328 GB, free: 1.012 MB / 0.698 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.0003929/0.004602, allocations: 329 kB / 0.7331 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004636, allocations: 8.031 kB / 0.7331 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.004664, allocations: 4.938 kB / 0.7331 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.004744, allocations: 102.7 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.004753, allocations: 4.375 kB / 0.7332 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.00476, allocations: 5 kB / 0.7332 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.004834, allocations: 34.25 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.00484, allocations: 0.875 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004847, allocations: 4.375 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.004851, allocations: 2.125 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.004877, allocations: 19.86 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.005056, allocations: 152.3 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.005184, allocations: 39.2 kB / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.005199, allocations: 9.859 kB / 0.7335 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.005216, allocations: 4 kB / 0.7335 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.005233, allocations: 34.56 kB / 0.7335 GB, free: 192 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.005234, allocations: 0.5312 kB / 0.7335 GB, free: 192 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 8.824e-05/0.005322, allocations: 46.89 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.00535, allocations: 67.28 kB / 0.7336 GB, free: 60 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.005403, allocations: 106.7 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.005411, allocations: 26.42 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.005443, allocations: 84.12 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-06/0.005452, allocations: 16.88 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.005474, allocations: 17.72 kB / 0.7339 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.005539, allocations: 318.8 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.005547, allocations: 4.562 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.005561, allocations: 15.47 kB / 0.7342 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.005588, allocations: 25.64 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00559, allocations: 4 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.277e-05/0.005633, allocations: 46.84 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.005643, allocations: 4 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005647, allocations: 0 / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.005655, allocations: 4 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.17e-05/0.005687, allocations: 17.55 kB / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.005689, allocations: 0 / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.005708, allocations: 4 kB / 0.7343 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005712, allocations: 7.984 kB / 0.7343 GB, free: 15.32 MB / 0.7136 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.123e-05/0.005754, allocations: 106.6 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.005765, allocations: 4.594 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.005842, allocations: 54.05 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005844, allocations: 0 / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005847, allocations: 5 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00585, allocations: 0 / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.319e-05/0.005923, allocations: 73.84 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005924, allocations: 1.125 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.005941, allocations: 8 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-06/0.005946, allocations: 3.984 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005947, allocations: 0.5938 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.00595, allocations: 4 kB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005951, allocations: 1.125 kB / 0.7346 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005952, allocations: 7.938 kB / 0.7346 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.525e-05/0.006008, allocations: 135.6 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.006014, allocations: 0.9062 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.006037, allocations: 0 / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-06/0.006047, allocations: 9.125 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006051, allocations: 8.109 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.835e-06/0.006059, allocations: 9.125 kB / 0.7347 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006059, allocations: 0 / 0.7347 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001671/0.006226, allocations: 48.94 kB / 0.7348 GB, free: 14.8 MB / 0.7136 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.0001539/0.00638, allocations: 142.9 kB / 0.7349 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.555e-05/0.006435, allocations: 32.97 kB / 0.7349 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.00644, allocations: 4 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.006449, allocations: 12.8 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.386e-05/0.006543, allocations: 4 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.00695, allocations: 127.2 kB / 0.7351 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.006979, allocations: 55.34 kB / 0.7351 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.006999, allocations: 4 kB / 0.7351 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.007028, allocations: 53.72 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.007029, allocations: 0 / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.002112/0.009141, allocations: 1.043 MB / 0.7362 GB, free: 13.33 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.ref.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.6863951263949275]