Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001594/0.001594, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.61 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002297/0.2604, allocations: 1.255 MB / 0.9524 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.2613, allocations: 0.5898 MB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2613, allocations: 0 / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2613, allocations: 3.938 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.2614, allocations: 0 / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.2619, allocations: 143.4 kB / 0.9531 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.2619, allocations: 7.938 kB / 0.9531 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.262, allocations: 4 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.262, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.2621, allocations: 11.92 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.2621, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.2626, allocations: 347.3 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2626, allocations: 4 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.2626, allocations: 4 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2629, allocations: 135.7 kB / 0.9536 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2629, allocations: 4 kB / 0.9536 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2629, allocations: 0 / 0.9536 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2629, allocations: 0 / 0.9536 GB, free: 5.578 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003816/0.2633, allocations: 363.2 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2633, allocations: 12.03 kB / 0.9539 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.2633, allocations: 8.922 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2635, allocations: 164.4 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.2635, allocations: 4.375 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.2635, allocations: 4.375 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.2636, allocations: 30.27 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2636, allocations: 192 / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2636, allocations: 7.875 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2636, allocations: 4 kB / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.2636, allocations: 0 / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2638, allocations: 153.7 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.2638, allocations: 26.55 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.2639, allocations: 12.92 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2639, allocations: 3.984 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2639, allocations: 30.56 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2639, allocations: 0 / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.2641, allocations: 49.56 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2641, allocations: 55.53 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.2642, allocations: 97.86 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2642, allocations: 25.7 kB / 0.9546 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.2642, allocations: 80.14 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.2643, allocations: 7.891 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2643, allocations: 17.72 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2644, allocations: 310.8 kB / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.2644, allocations: 0 / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.2644, allocations: 8.125 kB / 0.955 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.2645, allocations: 12.86 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2645, allocations: 0 / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.02e-05/0.2645, allocations: 45.62 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2646, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2646, allocations: 3.938 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2646, allocations: 0 / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2647, allocations: 11.98 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/0.2651, allocations: 0.5899 MB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.2651, allocations: 0 / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2651, allocations: 0 / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.2652, allocations: 114.4 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.2652, allocations: 0 / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.2653, allocations: 52.84 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2653, allocations: 0 / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2653, allocations: 0 / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2654, allocations: 7.938 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.354e-05/0.2655, allocations: 153.6 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2655, allocations: 3.938 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.2655, allocations: 8 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2655, allocations: 0 / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2656, allocations: 4 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002695/0.2658, allocations: 0.586 MB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2658, allocations: 11.88 kB / 0.9565 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.638e-05/0.2659, allocations: 57.17 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.266, allocations: 85 kB / 0.9567 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.266, allocations: 4 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.266, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.266, allocations: 8.062 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.266, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.2661, allocations: 79.28 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2661, allocations: 0 / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001916/0.2663, allocations: 8 kB / 0.9568 GB, free: 1.918 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.2664, allocations: 115.2 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2666, allocations: 23.92 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2666, allocations: 4.156 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.2667, allocations: 11.98 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2669, allocations: 10.06 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.2672, allocations: 100.5 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2674, allocations: 0.6729 MB / 0.9577 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.2674, allocations: 4.062 kB / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.2674, allocations: 7.438 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2674, allocations: 0 / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.002379/0.2698, allocations: 452.1 kB / 0.9581 GB, free: 496 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches