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.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.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.006695/0.006695, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001308/0.001308, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.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.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 104 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.14 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3299, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002751/0.3327, allocations: 1.262 MB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3338, allocations: 0.5894 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.3339, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3339, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.334, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3346, allocations: 135.5 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.3347, allocations: 11.92 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3347, allocations: 3.984 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.3347, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.3348, allocations: 15.94 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.3348, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.3354, allocations: 339.3 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.3354, allocations: 3.984 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.3354, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.3357, allocations: 139.6 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3357, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3357, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3357, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 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.000395/0.3361, allocations: 355.4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3362, allocations: 8.031 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3362, allocations: 4.875 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3363, allocations: 168.4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3363, allocations: 384 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.3363, allocations: 384 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.3364, allocations: 38.19 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3365, allocations: 192 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3365, allocations: 3.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3365, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.3365, allocations: 11.94 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.3367, allocations: 149.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.997e-05/0.3368, allocations: 26.56 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.3368, allocations: 8.922 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3368, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3369, allocations: 34.5 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3369, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001572/0.337, allocations: 49.53 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3371, allocations: 55.41 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.3372, allocations: 89.86 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3372, allocations: 25.7 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.3372, allocations: 84.14 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3373, allocations: 4 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.3373, allocations: 13.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3375, allocations: 318.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.3375, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.3375, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.3375, allocations: 16.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3375, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.535e-05/0.3376, allocations: 41.61 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3376, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3376, allocations: 16.03 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3377, allocations: 7.969 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3378, allocations: 8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003946/0.3382, allocations: 0.5821 MB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3382, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3383, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 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 8.375e-05/0.3383, allocations: 121.9 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.3384, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3385, allocations: 40.83 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3385, allocations: 3.984 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3385, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3385, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3386, allocations: 153.6 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3386, allocations: 3.938 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.3387, allocations: 15.92 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3387, allocations: 7.969 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.3387, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/0.3391, allocations: 0.582 MB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3391, allocations: 3.938 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.308e-05/0.3391, allocations: 73.25 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3392, allocations: 77.11 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3392, allocations: 3.938 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.3392, allocations: 0 / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3393, allocations: 7.938 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3393, allocations: 3.984 kB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.3393, allocations: 79.28 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3393, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001965/0.3395, allocations: 15.94 kB / 1.094 GB, free: 11.31 MB / 0.8575 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.0002189/0.3397, allocations: 116.4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3399, allocations: 15.98 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.34, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.3401, allocations: 16 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3402, allocations: 4.969 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3406, allocations: 114.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3408, allocations: 0.6768 MB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.3409, allocations: 0 / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.3409, allocations: 7.438 kB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3409, allocations: 0 / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.00259/0.3435, allocations: 462.2 kB / 1.095 GB, free: 9.863 MB / 0.8575 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 -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/jenkins/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