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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001477/0.001477, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001695/0.001695, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.25 kB / 0.8986 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3145, allocations: 157.4 MB / 1.052 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002846/0.3174, allocations: 1.349 MB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3184, allocations: 0.6033 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.3185, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.3185, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.3186, allocations: 3.938 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3192, allocations: 131.6 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.3192, allocations: 23.86 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3193, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.3193, allocations: 7.984 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.3194, allocations: 11.94 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3194, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.3199, allocations: 347.3 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3199, allocations: 3.984 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.32, allocations: 11.94 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3203, allocations: 136 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3203, allocations: 8 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3203, allocations: 4 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3203, allocations: 3.938 kB / 1.055 GB, free: 6.125 MB / 0.8106 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.0005001/0.3208, allocations: 364.9 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3208, allocations: 8.625 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3209, allocations: 0.9375 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.321, allocations: 164.4 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.321, allocations: 384 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.3211, allocations: 4.375 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3212, allocations: 50.19 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3212, allocations: 192 / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3212, allocations: 3.938 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3212, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.394e-05/0.3213, allocations: 19.98 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.3217, allocations: 252.8 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3219, allocations: 50.62 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.322, allocations: 16.86 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.322, allocations: 11.92 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.322, allocations: 30.56 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.322, allocations: 0 / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002007/0.3222, allocations: 57.69 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3223, allocations: 51.41 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.3224, allocations: 97.86 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3224, allocations: 29.7 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.3224, allocations: 80.14 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3225, allocations: 23.73 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.3225, allocations: 13.72 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3226, allocations: 318.8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.3227, allocations: 11.92 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.3227, allocations: 17.72 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.3228, allocations: 38.08 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3228, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.3229, allocations: 69.41 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3229, allocations: 4 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3229, allocations: 0 / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3229, allocations: 3.984 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.323, allocations: 8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.323, allocations: 0 / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.323, allocations: 4 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.323, allocations: 4.031 kB / 1.057 GB, free: 4.117 MB / 0.8106 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.592e-05/0.3231, allocations: 117.8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3232, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.3233, allocations: 65.11 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3233, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3233, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3233, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.3235, allocations: 161.6 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3235, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.3236, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3236, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3236, allocations: 4.125 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3236, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3236, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.3237, allocations: 155.3 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.3238, allocations: 81.09 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3238, allocations: 8 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.3238, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.3239, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.3239, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.3239, allocations: 79.28 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3239, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002715/0.3242, allocations: 23.92 kB / 1.057 GB, free: 3.32 MB / 0.8106 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.0001999/0.3244, allocations: 123.2 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.3245, allocations: 31.92 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3245, allocations: 0 / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.3245, allocations: 12 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3248, allocations: 7.875 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.3251, allocations: 123.1 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3254, allocations: 0.6884 MB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.3254, allocations: 8.047 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.3254, allocations: 11.44 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3254, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of Templates: time 0.002659/0.3281, allocations: 0.5072 MB / 1.059 GB, free: 1.754 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches