Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001763/0.001763, allocations: 102.6 kB / 15.98 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.001974/0.001974, allocations: 199.5 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.369/1.369, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.44 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002552/0.2729, allocations: 1.35 MB / 0.9511 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.2739, allocations: 0.5956 MB / 0.9517 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.2739, allocations: 0 / 0.9517 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.274, allocations: 7.984 kB / 0.9517 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.274, allocations: 3.938 kB / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.2745, allocations: 123.6 kB / 0.9518 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.2746, allocations: 15.92 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.2746, allocations: 4 kB / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.2747, allocations: 11.94 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2747, allocations: 7.984 kB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.2748, allocations: 0 / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.2752, allocations: 351.3 kB / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.669e-06/0.2753, allocations: 0 / 0.9522 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.2753, allocations: 15.92 kB / 0.9522 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2755, allocations: 96.11 kB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2755, allocations: 0 / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.529e-06/0.2755, allocations: 0 / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2755, allocations: 3.938 kB / 0.9523 GB, free: 6.648 MB / 0.7325 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.0004406/0.2759, allocations: 363.3 kB / 0.9526 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.276, allocations: 11.97 kB / 0.9526 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.276, allocations: 4.938 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2762, allocations: 164.4 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2762, allocations: 384 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2762, allocations: 8.375 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2763, allocations: 42.19 kB / 0.9529 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2763, allocations: 192 / 0.9529 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2763, allocations: 7.938 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2764, allocations: 0 / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.2764, allocations: 15.98 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.2768, allocations: 252.9 kB / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.277, allocations: 54.5 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.277, allocations: 20.84 kB / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.277, allocations: 0 / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2771, allocations: 34.55 kB / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2771, allocations: 0 / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.2773, allocations: 61.69 kB / 0.9533 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2773, allocations: 51.41 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.2774, allocations: 93.86 kB / 0.9534 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2774, allocations: 29.7 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.2775, allocations: 84.12 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2775, allocations: 23.67 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2775, allocations: 17.72 kB / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2777, allocations: 310.8 kB / 0.9539 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.2777, allocations: 12 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.2777, allocations: 25.7 kB / 0.9539 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.2778, allocations: 25.72 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2778, allocations: 0 / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.278e-05/0.2779, allocations: 65.5 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2779, allocations: 4 kB / 0.954 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2779, allocations: 4 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.278, allocations: 4.031 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.278, allocations: 11.98 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.278, allocations: 0 / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.2781, allocations: 4.031 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2781, allocations: 8 kB / 0.954 GB, free: 4.633 MB / 0.7325 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.27e-05/0.2782, allocations: 119.7 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.2782, allocations: 0 / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.2783, allocations: 65.17 kB / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2783, allocations: 0 / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2784, allocations: 0 / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2784, allocations: 4 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2785, allocations: 161.5 kB / 0.9544 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2785, allocations: 0 / 0.9544 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.2786, allocations: 4 kB / 0.9544 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.2786, allocations: 4 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2786, allocations: 0 / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2786, allocations: 0 / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2786, allocations: 0 / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2788, allocations: 155.9 kB / 0.9545 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.2788, allocations: 85 kB / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2788, allocations: 0 / 0.9546 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.2789, allocations: 4 kB / 0.9546 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.2789, allocations: 4.031 kB / 0.9546 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.2789, allocations: 4 kB / 0.9546 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.279, allocations: 79.28 kB / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 0.9547 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002432/0.2792, allocations: 27.92 kB / 0.9547 GB, free: 3.828 MB / 0.7325 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.0002011/0.2794, allocations: 115.2 kB / 0.9548 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.2796, allocations: 31.92 kB / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2796, allocations: 0 / 0.9548 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.2796, allocations: 8 kB / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2798, allocations: 13.94 kB / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.2802, allocations: 164.4 kB / 0.955 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2805, allocations: 0.6805 MB / 0.9557 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2805, allocations: 11.44 kB / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2805, allocations: 0 / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of Templates: time 0.002234/0.2827, allocations: 0.6988 MB / 0.9564 GB, free: 2.051 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches