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.0009221/0.0009221, 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.0008834/0.0008834, 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.8998/0.8998, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.723e-06/1.723e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.792e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001688/0.001716, allocations: 1.313 MB / 0.9835 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.002436, allocations: 0.5176 MB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.002471, allocations: 0 / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.002491, allocations: 3.938 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.002547, allocations: 11.92 kB / 0.984 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.003356, allocations: 143.3 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.003419, allocations: 19.92 kB / 0.9842 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.003467, allocations: 7.984 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.003504, allocations: 15.92 kB / 0.9842 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.003555, allocations: 7.984 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.003571, allocations: 0 / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.003967, allocations: 267.4 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003984, allocations: 4 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.004008, allocations: 11.98 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.004217, allocations: 159.5 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004219, allocations: 0 / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.00422, allocations: 3.938 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004225, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 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.0003753/0.0046, allocations: 282 kB / 0.9849 GB, free: 15.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.004641, allocations: 12.03 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.004674, allocations: 4.922 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.004765, allocations: 109.7 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004778, allocations: 4.375 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004788, allocations: 4.375 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.004888, allocations: 42.25 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.004898, allocations: 192 / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004909, allocations: 384 / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004913, allocations: 4.312 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.004959, allocations: 19.94 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.005228, allocations: 204.5 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.0054, allocations: 42.69 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.005426, allocations: 16.84 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.005449, allocations: 8 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005467, allocations: 38.55 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005468, allocations: 0 / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001556/0.005624, allocations: 57.56 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.005658, allocations: 55.41 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.005718, allocations: 93.86 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.00573, allocations: 29.7 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.005769, allocations: 84.09 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.005781, allocations: 15.89 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.005807, allocations: 17.72 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.005885, allocations: 314.8 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.0059, allocations: 8 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.005924, allocations: 21.7 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.005965, allocations: 33.66 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005967, allocations: 0 / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.971e-05/0.006027, allocations: 53.69 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.006039, allocations: 4 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.006046, allocations: 3.938 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006061, allocations: 4 kB / 0.9861 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.456e-05/0.006096, allocations: 15.92 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.006103, allocations: 8.031 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.006117, allocations: 3.938 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.006121, allocations: 128 / 0.9862 GB, free: 13.82 MB / 0.948 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.396e-05/0.006175, allocations: 109.8 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.006186, allocations: 3.938 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.0063, allocations: 77.25 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006302, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.006307, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006311, allocations: 4 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.304e-05/0.006394, allocations: 105.3 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006396, allocations: 0 / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.006411, allocations: 7.938 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006414, allocations: 3.984 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.006423, allocations: 8 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006425, allocations: 3.938 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.006427, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.64e-05/0.006513, allocations: 140 kB / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.00652, allocations: 48 / 0.9866 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.00653, allocations: 11.98 kB / 0.9866 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.006556, allocations: 3.938 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.006569, allocations: 4 kB / 0.9866 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.006574, allocations: 7.984 kB / 0.9866 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.006598, allocations: 75.28 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006598, allocations: 0 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000172/0.00677, allocations: 23.88 kB / 0.9867 GB, free: 13.18 MB / 0.948 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.0001392/0.006909, allocations: 123.1 kB / 0.9868 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.3e-05/0.006992, allocations: 23.98 kB / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006993, allocations: 0 / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.007005, allocations: 11.94 kB / 0.9869 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.007155, allocations: 8.062 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.007414, allocations: 148.7 kB / 0.987 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.007457, allocations: 55.36 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.007476, allocations: 12.5 kB / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of SimCode: time 3.6e-07/0.007476, allocations: 0 / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of Templates: time 0.001744/0.00922, allocations: 0.7331 MB / 0.9878 GB, free: 12.02 MB / 0.948 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/jenkins/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: 6.58990023471415]