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.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_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.001336/0.001336, allocations: 104.6 kB / 16.27 MB, free: 5.984 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.001299/0.001299, allocations: 189 kB / 17.2 MB, free: 5.609 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 / 240.9 MB, free: 15.2 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.45 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2844, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002784/0.2872, allocations: 1.248 MB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2882, allocations: 0.5897 MB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.2883, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.2883, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.2884, allocations: 3.938 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.289, allocations: 139.4 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.2891, allocations: 15.91 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2891, allocations: 8 kB / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.2892, allocations: 0 / 0.9522 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.2892, allocations: 8 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2892, allocations: 3.938 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.2898, allocations: 343.3 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2898, allocations: 4 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.2899, allocations: 0 / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2901, allocations: 143.9 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2902, allocations: 3.984 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2902, allocations: 0 / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2902, allocations: 3.938 kB / 0.9527 GB, free: 6.371 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.0004587/0.2906, allocations: 355.4 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2907, allocations: 12.03 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.2907, allocations: 4.938 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2909, allocations: 160.4 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2909, allocations: 384 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2909, allocations: 384 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.291, allocations: 38.19 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2911, allocations: 192 / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2911, allocations: 3.938 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2911, allocations: 0 / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.2911, allocations: 12 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.2913, allocations: 149.7 kB / 0.9534 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.2914, allocations: 22.61 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.2914, allocations: 8.922 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2914, allocations: 0 / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2915, allocations: 38.5 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2915, allocations: 4 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.2916, allocations: 49.62 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2917, allocations: 51.41 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.2918, allocations: 93.86 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2918, allocations: 29.64 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2918, allocations: 84.14 kB / 0.9538 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2919, allocations: 3.906 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2919, allocations: 13.97 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.292, allocations: 318.8 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2921, allocations: 4 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.2921, allocations: 4 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.2921, allocations: 12.8 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2921, allocations: 0 / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.645e-05/0.2922, allocations: 37.7 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2922, allocations: 11.98 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2922, allocations: 8.031 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2923, allocations: 0 / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2924, allocations: 8 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/0.2928, allocations: 0.5859 MB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.2928, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2929, allocations: 3.984 kB / 0.9548 GB, free: 4.023 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.0001/0.293, allocations: 117.9 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.293, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2931, allocations: 44.81 kB / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2931, allocations: 0 / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2931, allocations: 3.938 kB / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2931, allocations: 0 / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2932, allocations: 157.6 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2932, allocations: 0 / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.2933, allocations: 15.92 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2933, allocations: 4.031 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2934, allocations: 0 / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/0.2937, allocations: 0.5782 MB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2937, allocations: 7.969 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.453e-05/0.2938, allocations: 61.22 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2938, allocations: 85.05 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2938, allocations: 3.938 kB / 0.9558 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.2939, allocations: 4 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2939, allocations: 11.92 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2939, allocations: 0 / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.2939, allocations: 79.22 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2939, allocations: 0 / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002004/0.2941, allocations: 12 kB / 0.9559 GB, free: 2.723 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.000172/0.2943, allocations: 119.2 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2945, allocations: 23.98 kB / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2945, allocations: 0 / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.2946, allocations: 8 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.2948, allocations: 3.984 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.2952, allocations: 143.8 kB / 0.9562 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2954, allocations: 0.6768 MB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.2955, allocations: 7.438 kB / 0.9569 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2955, allocations: 0 / 0.9569 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.00244/0.2979, allocations: 0.6964 MB / 0.9575 GB, free: 0.9883 MB / 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 -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