Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.00151/0.00151, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00245/0.2949, allocations: 1.262 MB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000965/0.2959, allocations: 0.5936 MB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2959, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.2959, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.296, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.2965, allocations: 143.4 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.2966, allocations: 7.938 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2967, allocations: 7.984 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.2967, allocations: 0 / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.2967, allocations: 7.984 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2968, allocations: 0 / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.2972, allocations: 347.3 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.2973, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2973, allocations: 8 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.2976, allocations: 143.6 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2976, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2976, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2976, allocations: 0 / 0.9536 GB, free: 5.531 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.0004394/0.298, allocations: 363.3 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2981, allocations: 12.03 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2981, allocations: 4.875 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2983, allocations: 160.4 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.2983, allocations: 4.375 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2983, allocations: 4.375 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.2984, allocations: 30.27 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2984, allocations: 4.125 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2984, allocations: 7.938 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2984, allocations: 0 / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.2984, allocations: 3.984 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.2986, allocations: 149.7 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.2987, allocations: 22.61 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.2987, allocations: 12.91 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2987, allocations: 0 / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.2987, allocations: 34.56 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.2988, allocations: 4 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.2989, allocations: 41.58 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2989, allocations: 51.41 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.299, allocations: 106 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.299, allocations: 25.7 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.2991, allocations: 84.08 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2991, allocations: 3.906 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2991, allocations: 17.72 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2992, allocations: 310.8 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.2993, allocations: 4 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.297e-05/0.2993, allocations: 8.109 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.2993, allocations: 16.8 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2993, allocations: 0 / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.097e-05/0.2994, allocations: 37.7 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2994, allocations: 5.875 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2994, allocations: 3.938 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2994, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.2996, allocations: 11.98 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.3001, allocations: 0.5899 MB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3001, allocations: 4 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3001, allocations: 4.031 kB / 0.9556 GB, free: 3.172 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 0.0001035/0.3002, allocations: 109.8 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.3002, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3003, allocations: 48.91 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3004, allocations: 0 / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3004, allocations: 0 / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3004, allocations: 4 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3005, allocations: 153.6 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3005, allocations: 3.938 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.3006, allocations: 15.98 kB / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3006, allocations: 0 / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3006, allocations: 4 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/0.301, allocations: 0.586 MB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.301, allocations: 3.938 kB / 0.9565 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.3011, allocations: 61.16 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.3011, allocations: 81.02 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3012, allocations: 4 kB / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.3012, allocations: 0 / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.3012, allocations: 12 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3012, allocations: 0 / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.3013, allocations: 79.28 kB / 0.9567 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3013, allocations: 3.938 kB / 0.9567 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001972/0.3015, allocations: 7.984 kB / 0.9568 GB, free: 1.879 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.000244/0.3017, allocations: 115.2 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3019, allocations: 20.08 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3019, allocations: 4.062 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.302, allocations: 11.98 kB / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3022, allocations: 4 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3026, allocations: 110 kB / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3029, allocations: 0.6729 MB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.3029, allocations: 8.047 kB / 0.9577 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3029, allocations: 7.438 kB / 0.9577 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3029, allocations: 0 / 0.9577 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of Templates: time 0.00287/0.3058, allocations: 456 kB / 0.9581 GB, free: 444 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches