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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001818/0.001818, allocations: 110 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 192.2 kB / 16.91 MB, free: 6.184 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.453/1.453, allocations: 222.9 MB / 240.6 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 469.8 MB / 0.7427 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.59 kB / 0.9087 GB, free: 34.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3193, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002866/0.3222, allocations: 1.349 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3234, allocations: 0.5934 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.3234, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.3235, allocations: 7.984 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.3235, allocations: 4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.3241, allocations: 124.6 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.3242, allocations: 23.86 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3242, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.3243, allocations: 7.938 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.3243, allocations: 7.984 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3243, allocations: 3.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.3249, allocations: 351.3 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3249, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.325, allocations: 11.92 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3252, allocations: 92.11 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3252, allocations: 8 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3252, allocations: 0 / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.3252, allocations: 0 / 1.067 GB, free: 12 MB / 0.8262 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.0005386/0.3258, allocations: 359.4 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3258, allocations: 8.031 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3259, allocations: 4.938 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.326, allocations: 168.3 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.326, allocations: 4.359 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.326, allocations: 384 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3262, allocations: 42.25 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3262, allocations: 192 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3262, allocations: 3.938 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3263, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.664e-05/0.3263, allocations: 23.92 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3267, allocations: 253 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3269, allocations: 46.56 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.327, allocations: 12.86 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.327, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.327, allocations: 42.42 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.006e-06/0.3271, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.3272, allocations: 61.62 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3273, allocations: 51.41 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.3274, allocations: 97.86 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3274, allocations: 25.7 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3275, allocations: 84.05 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.3275, allocations: 19.83 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.3276, allocations: 13.72 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3277, allocations: 318.8 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.3278, allocations: 7.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.3278, allocations: 17.72 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.3279, allocations: 33.66 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3279, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001099/0.328, allocations: 65.47 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.328, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.328, allocations: 4.031 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.328, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.3281, allocations: 7.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3281, allocations: 4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.3281, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3282, allocations: 4.422 kB / 1.068 GB, free: 10 MB / 0.8262 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 0.0001049/0.3283, allocations: 113.8 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3283, allocations: 0 / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.3285, allocations: 73.09 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3285, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3285, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3285, allocations: 128 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3287, allocations: 169.6 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3287, allocations: 0 / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.3287, allocations: 4 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3288, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3288, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3288, allocations: 4 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3288, allocations: 4 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.329, allocations: 151.3 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.329, allocations: 85.09 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.329, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.3291, allocations: 3.938 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3291, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3291, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3292, allocations: 79.28 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3292, allocations: 7.938 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002653/0.3295, allocations: 27.92 kB / 1.069 GB, free: 9.188 MB / 0.8262 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.0002361/0.3297, allocations: 115.2 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3298, allocations: 27.92 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3298, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.3299, allocations: 12 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.3301, allocations: 3.938 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.3305, allocations: 158 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3309, allocations: 0.6768 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.3309, allocations: 7.438 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3309, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of Templates: time 0.002777/0.3337, allocations: 0.6984 MB / 1.071 GB, free: 7.426 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches