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.001128/0.001128, allocations: 90.98 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.01093/0.01093, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.579/1.579, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 3.173/3.173, allocations: 470.6 MB / 0.7441 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 9.469 kB / 0.9123 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3725, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001616/0.3742, allocations: 1.018 MB / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3754, allocations: 0.6053 MB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.3754, allocations: 0 / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.3754, allocations: 0 / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.3755, allocations: 4 kB / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.376, allocations: 121.6 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.3761, allocations: 19.86 kB / 1.072 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3761, allocations: 4 kB / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.3762, allocations: 15.92 kB / 1.072 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3762, allocations: 7.984 kB / 1.072 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3762, allocations: 4 kB / 1.072 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.3768, allocations: 339.3 kB / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3768, allocations: 7.922 kB / 1.072 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.3769, allocations: 33.7 kB / 1.072 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3771, allocations: 140 kB / 1.072 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3771, allocations: 4 kB / 1.072 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3772, allocations: 7.938 kB / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.3772, allocations: 4 kB / 1.072 GB, free: 9.078 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.0005028/0.3777, allocations: 351.4 kB / 1.072 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3777, allocations: 8.031 kB / 1.073 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3778, allocations: 4.938 kB / 1.073 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.378, allocations: 168.3 kB / 1.073 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.378, allocations: 4.375 kB / 1.073 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.378, allocations: 4.375 kB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3781, allocations: 34.27 kB / 1.073 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3782, allocations: 4.188 kB / 1.073 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3782, allocations: 11.92 kB / 1.073 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3782, allocations: 0 / 1.073 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.3783, allocations: 15.94 kB / 1.073 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3787, allocations: 248.9 kB / 1.073 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3789, allocations: 50.62 kB / 1.073 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.379, allocations: 24.84 kB / 1.073 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.379, allocations: 0 / 1.073 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.379, allocations: 30.56 kB / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.379, allocations: 0 / 1.073 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.3792, allocations: 61.62 kB / 1.073 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3793, allocations: 51.41 kB / 1.073 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.3794, allocations: 97.84 kB / 1.073 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3794, allocations: 29.7 kB / 1.073 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3795, allocations: 92.03 kB / 1.073 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3795, allocations: 11.84 kB / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.3795, allocations: 13.72 kB / 1.073 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3797, allocations: 314.8 kB / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3797, allocations: 8 kB / 1.074 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.3797, allocations: 17.72 kB / 1.074 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.3798, allocations: 42.02 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3798, allocations: 0 / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.3799, allocations: 61.52 kB / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3799, allocations: 8 kB / 1.074 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.38, allocations: 0 / 1.074 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.38, allocations: 3.938 kB / 1.074 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.38, allocations: 12 kB / 1.074 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.38, allocations: 0 / 1.074 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.3801, allocations: 3.938 kB / 1.074 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3801, allocations: 4 kB / 1.074 GB, free: 7.086 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 9.174e-05/0.3802, allocations: 113.8 kB / 1.074 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3802, allocations: 4 kB / 1.074 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3804, allocations: 73.09 kB / 1.074 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3804, allocations: 0 / 1.074 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3804, allocations: 0 / 1.074 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3804, allocations: 0 / 1.074 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3806, allocations: 157.6 kB / 1.074 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3806, allocations: 128 / 1.074 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.3807, allocations: 16 kB / 1.074 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3807, allocations: 0 / 1.074 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3807, allocations: 0 / 1.074 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3807, allocations: 3.984 kB / 1.074 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3807, allocations: 0 / 1.074 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.3808, allocations: 151.4 kB / 1.074 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.3809, allocations: 81.11 kB / 1.074 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3809, allocations: 0 / 1.074 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.381, allocations: 7.938 kB / 1.074 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.381, allocations: 0 / 1.074 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.381, allocations: 7.938 kB / 1.074 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3811, allocations: 79.27 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3811, allocations: 0 / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002533/0.3813, allocations: 27.94 kB / 1.075 GB, free: 6.277 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.0002165/0.3815, allocations: 115.2 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.3817, allocations: 19.98 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3817, allocations: 4.062 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.3817, allocations: 15.94 kB / 1.075 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3819, allocations: 7.938 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.3823, allocations: 132.6 kB / 1.075 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3826, allocations: 0.677 MB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.3827, allocations: 8 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3827, allocations: 7.438 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3827, allocations: 0 / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.003173/0.3859, allocations: 0.4962 MB / 1.076 GB, free: 4.734 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/jenkins/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