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.001118/0.001119, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.01011/0.01011, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 10.12 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3462, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001365/0.3476, allocations: 1.01 MB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.3486, allocations: 0.6073 MB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.3487, allocations: 0 / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.3487, allocations: 0 / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.3487, allocations: 3.984 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.3492, allocations: 123.6 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.3492, allocations: 23.86 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.3493, allocations: 0 / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.3493, allocations: 11.94 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.3494, allocations: 11.97 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3494, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.3499, allocations: 351.2 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.198e-06/0.3499, allocations: 0 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.3499, allocations: 41.62 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3501, allocations: 140 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3502, allocations: 0 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3502, allocations: 3.938 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3502, allocations: 0 / 1.061 GB, free: 3.133 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.0003999/0.3506, allocations: 359.3 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3506, allocations: 12.03 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.3507, allocations: 0.9375 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3508, allocations: 168.4 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3508, allocations: 4.375 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3508, allocations: 384 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3509, allocations: 42.27 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3509, allocations: 4.172 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.351, allocations: 3.938 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.351, allocations: 0 / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.351, allocations: 19.94 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.3513, allocations: 252.8 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3516, allocations: 50.62 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.3516, allocations: 16.84 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3516, allocations: 4 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3517, allocations: 34.56 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3517, allocations: 0 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.3518, allocations: 61.62 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3519, allocations: 51.41 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.352, allocations: 101.8 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.352, allocations: 25.7 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.352, allocations: 80.14 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.352, allocations: 15.75 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.3521, allocations: 13.72 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3522, allocations: 318.8 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3522, allocations: 8 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.3522, allocations: 17.72 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.3523, allocations: 37.64 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3523, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.649e-05/0.3524, allocations: 58 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3524, allocations: 8.031 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3524, allocations: 4 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3524, allocations: 3.938 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.3525, allocations: 11.94 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3525, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.3525, allocations: 7.844 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3525, allocations: 4 kB / 1.063 GB, free: 1.133 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 7.202e-05/0.3526, allocations: 109.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3526, allocations: 4.031 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.3528, allocations: 73.11 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3528, allocations: 0 / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3528, allocations: 4 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3528, allocations: 0 / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.353, allocations: 161.6 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.353, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.353, allocations: 4 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.353, allocations: 4 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.353, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.353, allocations: 7.984 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.353, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3532, allocations: 147.5 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.3532, allocations: 81.02 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.3532, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/0.3533, allocations: 4.125 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3533, allocations: 4 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3533, allocations: 3.938 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.3533, allocations: 91.27 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3534, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002497/0.3536, allocations: 19.94 kB / 1.063 GB, free: 336 kB / 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.0002122/0.3538, allocations: 115.2 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.3539, allocations: 23.98 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3539, allocations: 0 / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.354, allocations: 15.94 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3542, allocations: 3.938 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3546, allocations: 136.8 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3549, allocations: 0.6848 MB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.3549, allocations: 0 / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.355, allocations: 11.44 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.355, allocations: 4 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.002738/0.3577, allocations: 0.4908 MB / 1.065 GB, free: 14.78 MB / 0.8262 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