Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_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_10_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.009411/0.009411, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001951/0.001951, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.681/2.681, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 55.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3116, allocations: 151.6 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002003/0.3136, allocations: 1.251 MB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.3146, allocations: 0.5881 MB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.3146, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.3146, allocations: 0 / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.3147, allocations: 3.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3152, allocations: 143.4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.3152, allocations: 15.88 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.3153, allocations: 4 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.3153, allocations: 7.984 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.3153, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3153, allocations: 0 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.3158, allocations: 343.3 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.3158, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3159, allocations: 3.938 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3161, allocations: 139.6 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3161, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3161, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3161, allocations: 4 kB / 1.169 GB, free: 4.223 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.0003782/0.3165, allocations: 359 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3166, allocations: 12.03 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.3166, allocations: 0.9375 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.3167, allocations: 164.4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3167, allocations: 4.312 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.3168, allocations: 384 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.3168, allocations: 30.27 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3169, allocations: 4.188 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3169, allocations: 3.938 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3169, allocations: 11.98 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.3169, allocations: 0 / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.3171, allocations: 153.7 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.3171, allocations: 26.55 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.3172, allocations: 8.922 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3172, allocations: 4 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3172, allocations: 34.55 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3172, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.3174, allocations: 45.64 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3174, allocations: 51.41 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.3175, allocations: 93.86 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3175, allocations: 25.7 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.3175, allocations: 92.38 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3176, allocations: 3.953 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.3176, allocations: 13.72 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3178, allocations: 314.8 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.3178, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.3178, allocations: 8 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.3178, allocations: 8.859 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3178, allocations: 0 / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.988e-05/0.3179, allocations: 53.64 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.3179, allocations: 11.94 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3179, allocations: 3.938 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.3179, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3181, allocations: 11.98 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000333/0.3184, allocations: 0.5821 MB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.3184, allocations: 128 / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3184, allocations: 4 kB / 1.171 GB, free: 1.863 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 6.64e-05/0.3185, allocations: 113.8 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.3185, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.3186, allocations: 48.75 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3187, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3187, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3187, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.3188, allocations: 161.6 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3188, allocations: 4 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.3189, allocations: 8 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3189, allocations: 3.984 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3189, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002841/0.3192, allocations: 0.586 MB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3192, allocations: 3.938 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.718e-05/0.3192, allocations: 69.2 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3193, allocations: 85.03 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.3193, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.3193, allocations: 4 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.3193, allocations: 11.94 kB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3194, allocations: 0 / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.3194, allocations: 79.28 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3194, allocations: 4.125 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001879/0.3196, allocations: 4 kB / 1.172 GB, free: 0.5625 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.000159/0.3198, allocations: 111.2 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3199, allocations: 23.98 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3199, allocations: 0 / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.32, allocations: 15.92 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3202, allocations: 9.656 kB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.3204, allocations: 104.1 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3207, allocations: 0.669 MB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.328e-05/0.3207, allocations: 4 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.3207, allocations: 11.38 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.3207, allocations: 0 / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of Templates: time 0.002544/0.3233, allocations: 454 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches