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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001064/0.001064, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.987/2.987, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 10.53 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3212, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001807/0.3231, allocations: 0.9673 MB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3242, allocations: 0.5339 MB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.3242, allocations: 0 / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3243, allocations: 3.984 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.3243, allocations: 3.938 kB / 1.059 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.325, allocations: 122.6 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.325, allocations: 15.94 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.3251, allocations: 3.984 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.792e-05/0.3251, allocations: 0 / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.3252, allocations: 4 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3252, allocations: 3.938 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.3257, allocations: 335.3 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3258, allocations: 4 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3258, allocations: 29.7 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.326, allocations: 84.12 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.326, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3261, allocations: 4 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3261, allocations: 0 / 1.06 GB, free: 3.203 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.0004385/0.3265, allocations: 359.2 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3266, allocations: 8.031 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3266, allocations: 0 / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3267, allocations: 167 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3267, allocations: 4 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3268, allocations: 3.953 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3269, allocations: 33.7 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3269, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3269, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3269, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.3269, allocations: 11.92 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3271, allocations: 145.7 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.3272, allocations: 30.55 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.3272, allocations: 8.844 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3272, allocations: 8.016 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3273, allocations: 34.56 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3273, allocations: 3.938 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.3274, allocations: 37.7 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3275, allocations: 55.34 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.3276, allocations: 97.84 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.3276, allocations: 25.95 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.3276, allocations: 88.14 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.3276, allocations: 3.906 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.3277, allocations: 4 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3278, allocations: 310.8 kB / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.3278, allocations: 0 / 1.061 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-06/0.3278, allocations: 4 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.3278, allocations: 4 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3278, allocations: 0 / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.691e-05/0.3279, allocations: 45.75 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3279, allocations: 7.953 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3279, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3279, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3281, allocations: 11.98 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003805/0.3285, allocations: 0.5859 MB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.3285, allocations: 128 / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3286, allocations: 8.031 kB / 1.062 GB, free: 0.8867 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/0.3286, allocations: 113.8 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-06/0.3287, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3288, allocations: 48.75 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3288, allocations: 3.984 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3288, allocations: 0 / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.3288, allocations: 4 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3289, allocations: 153.7 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.329, allocations: 0 / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.688e-05/0.329, allocations: 12 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.3291, allocations: 3.984 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3291, allocations: 4 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003172/0.3294, allocations: 0.5821 MB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3294, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.333e-05/0.3295, allocations: 73.14 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.3295, allocations: 81.02 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3296, allocations: 11.88 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.3296, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.3296, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3296, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.442e-05/0.3296, allocations: 79.28 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3297, allocations: 4.125 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001977/0.3299, allocations: 4 kB / 1.063 GB, free: 15.6 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.3301, allocations: 115.2 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.3302, allocations: 24.02 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3303, allocations: 0 / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3303, allocations: 19.92 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3305, allocations: 9.016 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.3309, allocations: 107.2 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3311, allocations: 0.6731 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.3311, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.3311, allocations: 11.44 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of SimCode: time 1.673e-06/0.3312, allocations: 0 / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.002622/0.3338, allocations: 423.9 kB / 1.065 GB, free: 14.2 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