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.001656/0.001656, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.002343/0.002343, allocations: 159.2 kB / 23.01 MB, free: 4.598 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002218/0.002218, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9183/0.9205, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002274/0.9228, allocations: 1.311 MB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.9236, allocations: 0.5308 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.9237, allocations: 0 / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.9237, allocations: 0.6094 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.9237, allocations: 10.09 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.9242, allocations: 144.4 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.804e-05/0.9243, allocations: 16.75 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.9243, allocations: 2.422 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.9244, allocations: 12.53 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.9244, allocations: 10.28 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.9244, allocations: 1.625 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.9249, allocations: 263.7 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.9249, allocations: 2.875 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.9249, allocations: 20.12 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.9252, allocations: 143.2 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.9252, allocations: 2.172 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9252, allocations: 0 / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.9252, allocations: 0 / 1.189 GB, free: 14.74 MB / 1.076 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.0003573/0.9256, allocations: 279.5 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9256, allocations: 10.16 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.9256, allocations: 2 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.9257, allocations: 110.1 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.9257, allocations: 1.656 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.9257, allocations: 5.719 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.9258, allocations: 45.2 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.9258, allocations: 4.172 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.9259, allocations: 5.125 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9259, allocations: 0 / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.9259, allocations: 16.81 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.9262, allocations: 193.9 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.9264, allocations: 49.22 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.9264, allocations: 17.17 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.9264, allocations: 9.875 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.9264, allocations: 31.88 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9264, allocations: 5.125 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001643/0.9266, allocations: 55.69 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.9266, allocations: 52.5 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.9267, allocations: 100.9 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/0.9267, allocations: 25.7 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.9267, allocations: 90.09 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.9267, allocations: 14.34 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.9268, allocations: 19.39 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/0.9268, allocations: 321.5 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.9268, allocations: 8.312 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.9268, allocations: 22.33 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.9269, allocations: 30.61 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9269, allocations: 0 / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.193e-05/0.927, allocations: 64.52 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.927, allocations: 5.438 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.927, allocations: 4.609 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.927, allocations: 1.406 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.9271, allocations: 7.859 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9271, allocations: 5.125 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.9271, allocations: 1.875 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.9271, allocations: 2.125 kB / 1.191 GB, free: 13.19 MB / 1.076 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.559e-05/0.9271, allocations: 116.6 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.9272, allocations: 9.078 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.9273, allocations: 59.73 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9273, allocations: 0.6562 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9273, allocations: 0 / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9273, allocations: 5.875 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.9274, allocations: 111.6 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9274, allocations: 0 / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.9274, allocations: 7.5 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.9274, allocations: 3.938 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.9274, allocations: 1.797 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9274, allocations: 0 / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9274, allocations: 1.219 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/0.9275, allocations: 148.2 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.9275, allocations: 5.719 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.9275, allocations: 5.734 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.9276, allocations: 1.312 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.9276, allocations: 6.422 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.9276, allocations: 5.812 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.9276, allocations: 78.12 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9276, allocations: 1.094 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002461/0.9279, allocations: 22.7 kB / 1.191 GB, free: 12.63 MB / 1.076 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.0001291/0.928, allocations: 113.1 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.9281, allocations: 25.33 kB / 1.191 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9281, allocations: 0.75 kB / 1.191 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.9281, allocations: 17.06 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.9283, allocations: 4.609 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.9286, allocations: 124.6 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.9286, allocations: 68.39 kB / 1.191 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.9286, allocations: 6.938 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.9287, allocations: 11.62 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9287, allocations: 4 kB / 1.191 GB, free: 12.31 MB / 1.076 GB Notification: Performance of Templates: time 0.002813/0.9315, allocations: 0.4984 MB / 1.192 GB, free: 12.23 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.731379576027393]