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.001387/0.001387, allocations: 105 kB / 16.41 MB, free: 6.465 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.001363/0.001363, allocations: 187 kB / 17.34 MB, free: 5.719 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.83 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8505, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002552/0.8531, allocations: 1.284 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8542, allocations: 0.5994 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.8542, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.8543, allocations: 3.938 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.8543, allocations: 3.938 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.8549, allocations: 147.4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.855, allocations: 19.92 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.8551, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.8551, allocations: 11.92 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.8551, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.8552, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.8557, allocations: 347.3 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.8557, allocations: 7.938 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.8558, allocations: 15.92 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.856, allocations: 135.6 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.856, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.856, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.8561, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 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.0004724/0.8565, allocations: 361.3 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8566, allocations: 8.031 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.8566, allocations: 4.844 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.8568, allocations: 168.3 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8568, allocations: 4.375 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.8568, allocations: 4.375 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.8569, allocations: 42.25 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8569, allocations: 192 / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8569, allocations: 7.938 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.857, allocations: 0 / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.857, allocations: 19.92 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.8574, allocations: 253 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.8576, allocations: 50.5 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.8576, allocations: 16.92 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.8576, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.8577, allocations: 34.55 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8577, allocations: 0 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.8579, allocations: 57.81 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.8579, allocations: 59.41 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.858, allocations: 97.84 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.858, allocations: 25.7 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.8581, allocations: 88.05 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.8581, allocations: 11.8 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.8581, allocations: 17.72 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.8582, allocations: 314.8 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.8583, allocations: 8 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.8583, allocations: 25.64 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.8584, allocations: 33.66 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8584, allocations: 0 / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.8585, allocations: 65.56 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8585, allocations: 5.562 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8585, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8585, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.8586, allocations: 16.02 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8586, allocations: 3.938 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.8586, allocations: 7.938 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.8586, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 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.352e-05/0.8587, allocations: 113.8 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.8587, allocations: 0 / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.8589, allocations: 69.11 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8589, allocations: 0 / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8589, allocations: 4 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8589, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.8591, allocations: 165.5 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8591, allocations: 0 / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.8591, allocations: 4 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8591, allocations: 0 / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.8592, allocations: 4.125 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.8592, allocations: 4 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8592, allocations: 0 / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.8593, allocations: 151.5 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.8594, allocations: 85.03 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.8594, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.8594, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.8594, allocations: 4 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.8595, allocations: 0 / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.8595, allocations: 83.61 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8595, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002533/0.8598, allocations: 19.98 kB / 1.213 GB, free: 8.234 MB / 0.9356 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.0002201/0.86, allocations: 127.2 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.8601, allocations: 28.11 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.8601, allocations: 0 / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.8602, allocations: 15.94 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.8604, allocations: 3.938 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.8607, allocations: 148.2 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.861, allocations: 0.6846 MB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.861, allocations: 7.438 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of SimCode: time 1.623e-06/0.8611, allocations: 3.938 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.00226/0.8633, allocations: 0.6983 MB / 1.215 GB, free: 6.457 MB / 0.9356 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/jenkins1/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