Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001113/0.001113, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.01136/0.01136, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 462.6 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 11.09 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00153/0.317, allocations: 0.9828 MB / 1.06 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3181, allocations: 0.5956 MB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.3181, allocations: 4 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.3181, allocations: 7.984 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.3182, allocations: 0 / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3187, allocations: 111.6 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.3188, allocations: 11.94 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.3189, allocations: 3.984 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.3189, allocations: 4 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.3189, allocations: 3.938 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.319, allocations: 4 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.3195, allocations: 343.3 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3195, allocations: 4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.3196, allocations: 29.7 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.3199, allocations: 139.9 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3199, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3199, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3199, allocations: 0 / 1.061 GB, free: 3.262 MB / 0.8106 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.000407/0.3203, allocations: 356.6 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3204, allocations: 12.03 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.3204, allocations: 4.922 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3205, allocations: 160.4 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3205, allocations: 4.375 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.3206, allocations: 384 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.3207, allocations: 34.2 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3207, allocations: 192 / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3207, allocations: 7.938 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3207, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.978e-05/0.3207, allocations: 7.984 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3209, allocations: 145.7 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.321, allocations: 30.55 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.321, allocations: 8.844 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.321, allocations: 8 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3211, allocations: 34.5 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3211, allocations: 0 / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.3212, allocations: 45.64 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3213, allocations: 51.41 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.3214, allocations: 101.8 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3214, allocations: 25.7 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3214, allocations: 80.14 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3214, allocations: 11.89 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.3215, allocations: 9.719 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3216, allocations: 315.1 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.3216, allocations: 4 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.3216, allocations: 7.938 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.3217, allocations: 12.84 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3217, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.924e-05/0.3218, allocations: 37.7 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3218, allocations: 8 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3218, allocations: 3.938 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3218, allocations: 8.094 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.322, allocations: 11.98 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/0.3224, allocations: 0.5859 MB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.3224, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3224, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 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 7.62e-05/0.3225, allocations: 115.3 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.3225, allocations: 4.094 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3226, allocations: 44.81 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3226, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3227, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3227, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.3228, allocations: 157.6 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3228, allocations: 0 / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.3229, allocations: 19.91 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3229, allocations: 0 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3229, allocations: 4.031 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003156/0.3232, allocations: 0.586 MB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3232, allocations: 3.938 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.138e-05/0.3233, allocations: 65.09 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.3234, allocations: 81.14 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3234, allocations: 8 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.3234, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.3234, allocations: 3.938 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3234, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.3235, allocations: 83.22 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3235, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001982/0.3237, allocations: 4 kB / 1.064 GB, free: 15.62 MB / 0.8262 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.0001877/0.3239, allocations: 119.3 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.324, allocations: 23.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3241, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.3241, allocations: 11.98 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3243, allocations: 7.938 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.3246, allocations: 111.4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3249, allocations: 0.677 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.3249, allocations: 4 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.3249, allocations: 7.438 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3249, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.002708/0.3277, allocations: 421.4 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches