Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5825, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001289/0.5838, allocations: 1.027 MB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.5848, allocations: 0.5879 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.5848, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.5848, allocations: 3.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.5849, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.5854, allocations: 119.6 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.5854, allocations: 23.88 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.5855, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.5855, allocations: 11.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.5855, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5856, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.5861, allocations: 339.4 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.5861, allocations: 11.88 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.5861, allocations: 33.69 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.5863, allocations: 105.7 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5863, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5863, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.5863, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.7794 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.0003908/0.5867, allocations: 355.4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5868, allocations: 8.031 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.5868, allocations: 8.938 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.5869, allocations: 164.3 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5869, allocations: 4.375 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.5869, allocations: 8.312 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.5871, allocations: 42.25 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5871, allocations: 192 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.5871, allocations: 7.938 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5871, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.5872, allocations: 19.92 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.5875, allocations: 244.9 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.5877, allocations: 50.62 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.5877, allocations: 16.86 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5877, allocations: 4 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5878, allocations: 38.55 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5878, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001687/0.588, allocations: 61.72 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.588, allocations: 55.41 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.5881, allocations: 105.8 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.5881, allocations: 29.64 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.5882, allocations: 88.14 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.5882, allocations: 11.8 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.5882, allocations: 13.72 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.5883, allocations: 314.8 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.5883, allocations: 8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.5884, allocations: 17.7 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.5884, allocations: 33.66 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5884, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.5885, allocations: 65.56 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5886, allocations: 6.031 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5886, allocations: 3.984 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5886, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.5886, allocations: 11.98 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5886, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.5887, allocations: 11.84 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.5887, allocations: 0 / 1.028 GB, free: 11.59 MB / 0.7794 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 6.995e-05/0.5888, allocations: 118.3 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.5888, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.5889, allocations: 69.11 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.589, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.589, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.589, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.5891, allocations: 157.6 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5891, allocations: 4 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.5892, allocations: 4 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5892, allocations: 4 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.5892, allocations: 3.938 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5892, allocations: 128 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5892, allocations: 8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.5893, allocations: 147.5 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.5894, allocations: 81.02 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.5894, allocations: 3.984 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.5895, allocations: 3.938 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.5895, allocations: 8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.5895, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.5895, allocations: 83.55 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5895, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00025/0.5898, allocations: 16 kB / 1.028 GB, free: 10.79 MB / 0.7794 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.000183/0.59, allocations: 123.2 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.5901, allocations: 20.14 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5901, allocations: 64 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.5901, allocations: 24.02 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5903, allocations: 4.031 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.5906, allocations: 158.3 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.5908, allocations: 0.677 MB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.5909, allocations: 15.44 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5909, allocations: 0 / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of Templates: time 0.001973/0.5929, allocations: 0.6865 MB / 1.03 GB, free: 9.02 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches