Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007626/0.007626, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001756/0.001756, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.84 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002443/0.3064, allocations: 1.247 MB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3074, allocations: 0.5918 MB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.3075, allocations: 4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.3075, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.3076, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.3085, allocations: 147.3 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.3086, allocations: 11.94 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.048e-05/0.3086, allocations: 0 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.3087, allocations: 4 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.3087, allocations: 7.984 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3088, allocations: 4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.3094, allocations: 343.3 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.3094, allocations: 0 / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.3094, allocations: 7.938 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.3097, allocations: 139.6 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3097, allocations: 3.938 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3097, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3098, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 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.0004454/0.3102, allocations: 355.1 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3103, allocations: 12.03 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.3103, allocations: 0.9375 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3104, allocations: 172.4 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3104, allocations: 384 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3105, allocations: 384 / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.3106, allocations: 30.27 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3106, allocations: 192 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3106, allocations: 7.938 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3106, allocations: 0 / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.3107, allocations: 11.94 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.3108, allocations: 157.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.832e-05/0.3109, allocations: 22.58 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.3109, allocations: 8.922 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3109, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.311, allocations: 30.56 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.311, allocations: 4 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001544/0.3111, allocations: 49.56 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3112, allocations: 55.41 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.3113, allocations: 93.86 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3113, allocations: 25.7 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.3113, allocations: 80.14 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3114, allocations: 11.94 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3114, allocations: 9.969 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3116, allocations: 322.8 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.3117, allocations: 3.938 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.3117, allocations: 4 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.3117, allocations: 12.8 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3117, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.329e-05/0.3118, allocations: 49.58 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3118, allocations: 4 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3118, allocations: 8.031 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3118, allocations: 4 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.312, allocations: 11.98 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004183/0.3125, allocations: 0.5782 MB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.3125, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3125, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 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.32e-05/0.3126, allocations: 121.8 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.3126, allocations: 4.031 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3127, allocations: 44.81 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3127, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3128, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3128, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3129, allocations: 153.6 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3129, allocations: 0 / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.313, allocations: 8 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.313, allocations: 4.031 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.313, allocations: 0 / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003242/0.3133, allocations: 0.5898 MB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3134, allocations: 3.938 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.668e-05/0.3134, allocations: 69.17 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.3135, allocations: 89.16 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.3135, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.3135, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.3136, allocations: 3.938 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3136, allocations: 4 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.3136, allocations: 75.28 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3136, allocations: 0 / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002008/0.3138, allocations: 11.94 kB / 1.172 GB, free: 0.6406 MB / 0.92 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.0002217/0.314, allocations: 119.3 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3142, allocations: 19.98 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3142, allocations: 3.938 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.3143, allocations: 15.98 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3145, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.3148, allocations: 110 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3151, allocations: 0.6729 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.3151, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.3152, allocations: 7.438 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3152, allocations: 4 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of Templates: time 0.002687/0.3179, allocations: 461.9 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches