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.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.0008045/0.0008045, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007672/0.0007672, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.857/0.857, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.601/1.601, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.475e-06/2.475e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.527e-05, allocations: 9.656 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001714/0.00174, allocations: 1.306 MB / 0.953 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000786/0.002526, allocations: 0.5376 MB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.002562, allocations: 0 / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.002594, allocations: 3.984 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.00265, allocations: 0 / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.003087, allocations: 155.2 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.00315, allocations: 23.86 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.0032, allocations: 4 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.003239, allocations: 4 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.003295, allocations: 11.98 kB / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.00331, allocations: 0 / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.003587, allocations: 267.4 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.003605, allocations: 11.92 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.003624, allocations: 4 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.003848, allocations: 159.5 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003851, allocations: 0 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.003852, allocations: 0 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.003859, allocations: 3.938 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 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.0003897/0.004248, allocations: 293.9 kB / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.004291, allocations: 8.031 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.004322, allocations: 0.9375 kB / 0.9544 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.592e-05/0.004408, allocations: 105.8 kB / 0.9545 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.00442, allocations: 4.375 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.00443, allocations: 4.375 kB / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004542, allocations: 46.19 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.004551, allocations: 192 / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004563, allocations: 4.375 kB / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004569, allocations: 384 / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.004614, allocations: 19.92 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.004896, allocations: 196.6 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.00508, allocations: 42.62 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.005108, allocations: 20.78 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.005129, allocations: 4 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.005151, allocations: 34.56 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005152, allocations: 4 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001515/0.005304, allocations: 53.62 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.005335, allocations: 55.41 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.005392, allocations: 102 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.005403, allocations: 25.7 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.005442, allocations: 84.09 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.005453, allocations: 15.89 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.005479, allocations: 17.67 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.005558, allocations: 322.8 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.005572, allocations: 4 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.005596, allocations: 25.72 kB / 0.9556 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.005638, allocations: 37.88 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00564, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.639e-05/0.005696, allocations: 53.62 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005709, allocations: 8 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.005715, allocations: 3.938 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.005732, allocations: 0 / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.083e-05/0.005763, allocations: 8 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005767, allocations: 0 / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.005781, allocations: 4.125 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.005788, allocations: 15.97 kB / 0.9557 GB, free: 14.73 MB / 0.9167 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.251e-05/0.00584, allocations: 105.8 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.005852, allocations: 7.984 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.005954, allocations: 61.25 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.005957, allocations: 4 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.005961, allocations: 3.938 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005964, allocations: 0 / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.006049, allocations: 113.2 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006049, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.006065, allocations: 12 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006066, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.006072, allocations: 0 / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.006074, allocations: 3.938 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006074, allocations: 0 / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.006321, allocations: 147.5 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.006329, allocations: 7.938 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006339, allocations: 3.984 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.006366, allocations: 7.938 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.006381, allocations: 4 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.006383, allocations: 0 / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.006406, allocations: 83.28 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001559/0.006562, allocations: 15.94 kB / 0.9563 GB, free: 14.09 MB / 0.9167 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.0001496/0.006712, allocations: 123.1 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.006791, allocations: 27.92 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006792, allocations: 0 / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.006803, allocations: 8 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.006958, allocations: 4 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.00721, allocations: 147 kB / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.007252, allocations: 59.34 kB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.007274, allocations: 12.5 kB / 0.9566 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.007274, allocations: 3.938 kB / 0.9566 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of Templates: time 0.001659/0.008934, allocations: 0.7322 MB / 0.9573 GB, free: 12.92 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.322262135334313]