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.00133/0.00133, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001497/0.001497, allocations: 222.2 kB / 23 MB, free: 4.914 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.189/3.189, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002065/0.002065, allocations: 63.89 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00311/0.3476, allocations: 1.298 MB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3488, allocations: 0.5255 MB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.3488, allocations: 0 / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3489, allocations: 3.938 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.3489, allocations: 8 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.3496, allocations: 150.2 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.3497, allocations: 19.88 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.3497, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.3498, allocations: 11.92 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.3498, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3498, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.3503, allocations: 275.5 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.3503, allocations: 4 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.3504, allocations: 7.938 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.3507, allocations: 139.5 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3507, allocations: 3.984 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3507, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3507, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 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.0005444/0.3512, allocations: 287.4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3513, allocations: 12.03 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3513, allocations: 0.9375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3514, allocations: 106.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3514, allocations: 8.375 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.3515, allocations: 8.312 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3516, allocations: 42.25 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3516, allocations: 192 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3516, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3516, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.3517, allocations: 23.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.352, allocations: 196.6 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3522, allocations: 38.69 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.3523, allocations: 16.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3523, allocations: 7.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3523, allocations: 38.56 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3523, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001918/0.3525, allocations: 57.58 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3526, allocations: 51.41 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.3527, allocations: 101.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3527, allocations: 25.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.3527, allocations: 84.14 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3527, allocations: 11.91 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3528, allocations: 21.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.353, allocations: 318.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.353, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.353, allocations: 21.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.3531, allocations: 33.66 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3531, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.3532, allocations: 65.89 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3532, allocations: 6.188 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3532, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3533, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.3533, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3533, allocations: 12.02 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.3533, allocations: 7.984 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3534, allocations: 3.984 kB / 1.33 GB, free: 13.65 MB / 1.029 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 8.694e-05/0.3534, allocations: 110.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3535, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3537, allocations: 65.3 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3537, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3537, allocations: 128 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3537, allocations: 3.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3538, allocations: 113.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3538, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3539, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3539, allocations: 3.938 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3539, allocations: 7.938 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3539, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3539, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.354, allocations: 151.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.3541, allocations: 11.94 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3541, allocations: 11.88 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.3541, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3541, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3541, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.3542, allocations: 79.27 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3542, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002633/0.3545, allocations: 27.88 kB / 1.331 GB, free: 12.99 MB / 1.029 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.00021/0.3547, allocations: 115.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3548, allocations: 23.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3548, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.3548, allocations: 7.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.355, allocations: 12.06 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.3554, allocations: 140.6 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.3555, allocations: 63.34 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3555, allocations: 11.44 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3555, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Templates: time 0.0025/0.358, allocations: 0.7081 MB / 1.332 GB, free: 11.86 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.814289577770978]