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.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001438/0.001438, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 69.48 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3333, allocations: 157.4 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002915/0.3363, allocations: 1.316 MB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3375, allocations: 0.5844 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.3375, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.3376, allocations: 4 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.3377, allocations: 7.875 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006475/0.3383, allocations: 130.6 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.3384, allocations: 7.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.3384, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.3385, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.3385, allocations: 7.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3385, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.339, allocations: 351.3 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.3391, allocations: 4 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.3391, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.3394, allocations: 140 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3394, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3394, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3394, allocations: 0 / 1.055 GB, free: 6.18 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.000483/0.3399, allocations: 356.5 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3399, allocations: 12.62 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.34, allocations: 0.9375 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3401, allocations: 168.4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3401, allocations: 384 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3401, allocations: 4.375 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.3402, allocations: 26.27 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3403, allocations: 4.188 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3403, allocations: 7.938 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3403, allocations: 3.938 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.3403, allocations: 3.984 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3405, allocations: 157.7 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.3406, allocations: 26.55 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3406, allocations: 8.922 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3406, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3407, allocations: 30.56 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3407, allocations: 4 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.3408, allocations: 45.62 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3409, allocations: 59.47 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.3409, allocations: 93.86 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.341, allocations: 25.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.341, allocations: 84.12 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.341, allocations: 11.89 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3411, allocations: 13.72 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3412, allocations: 310.8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.3412, allocations: 8.125 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.3412, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.3413, allocations: 8.859 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3413, allocations: 3.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.501e-05/0.3414, allocations: 49.62 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3414, allocations: 4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3414, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3414, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3416, allocations: 12.08 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003377/0.3419, allocations: 0.5859 MB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.342, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.342, allocations: 0 / 1.057 GB, free: 3.824 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.377e-05/0.342, allocations: 113.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.3422, allocations: 52.84 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3422, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3422, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3422, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.536e-05/0.3423, allocations: 153.6 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3423, allocations: 0 / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.3424, allocations: 11.94 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3424, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3424, allocations: 4 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/0.3427, allocations: 0.586 MB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3427, allocations: 7.875 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.293e-05/0.3428, allocations: 61.08 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3428, allocations: 77.11 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3428, allocations: 7.984 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.3429, allocations: 8.125 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.3429, allocations: 3.938 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3429, allocations: 4 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.3429, allocations: 79.28 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 0 / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001936/0.3431, allocations: 8 kB / 1.058 GB, free: 2.531 MB / 0.8106 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.0001925/0.3433, allocations: 111.2 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3435, allocations: 28.02 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3435, allocations: 0 / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-05/0.3436, allocations: 15.98 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.3438, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3442, allocations: 110 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.3444, allocations: 0.673 MB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.3444, allocations: 7.938 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.3445, allocations: 7.438 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3445, allocations: 0 / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of Templates: time 0.00261/0.3471, allocations: 445.9 kB / 1.059 GB, free: 1.113 MB / 0.8106 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