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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001326/0.001326, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.293/1.293, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.555, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002145/0.5571, allocations: 1.331 MB / 1.019 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.5581, allocations: 0.5918 MB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.5582, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.5582, allocations: 3.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.5583, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.5587, allocations: 119.6 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.646e-05/0.5587, allocations: 15.94 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.5588, allocations: 4 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.5588, allocations: 4 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.5588, allocations: 7.922 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.5588, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.5593, allocations: 347.3 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.5593, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.5593, allocations: 0 / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.5595, allocations: 105.7 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5595, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5595, allocations: 0 / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.5596, allocations: 4 kB / 1.02 GB, free: 232 kB / 0.7637 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.0003968/0.56, allocations: 343.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.56, allocations: 8.031 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.56, allocations: 0.9375 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5601, allocations: 168.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5602, allocations: 4.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.5602, allocations: 384 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.5603, allocations: 30.27 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5603, allocations: 8.125 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5603, allocations: 3.938 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5603, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.5603, allocations: 7.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.5605, allocations: 153.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.5605, allocations: 18.58 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.5606, allocations: 12.92 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.5606, allocations: 7.984 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.5606, allocations: 30.56 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.5606, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000127/0.5608, allocations: 45.58 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5608, allocations: 55.41 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.5609, allocations: 93.84 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.5609, allocations: 25.7 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.5609, allocations: 88.39 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.561, allocations: 7.844 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.561, allocations: 13.72 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5611, allocations: 318.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.5611, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.5612, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.5612, allocations: 20.78 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5612, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.814e-05/0.5613, allocations: 37.77 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5613, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5613, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5613, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.5615, allocations: 15.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003588/0.5618, allocations: 0.5859 MB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.5619, allocations: 4.062 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.5619, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 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.639e-05/0.562, allocations: 110.3 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.562, allocations: 4.031 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5621, allocations: 44.81 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.5621, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5621, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5621, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.5622, allocations: 165.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5622, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.5623, allocations: 11.98 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5623, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5623, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.5626, allocations: 0.5821 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5626, allocations: 7.875 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.5627, allocations: 73.16 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.5627, allocations: 77.11 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.5628, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.5628, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.5628, allocations: 3.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.5628, allocations: 4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.5628, allocations: 79.22 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5629, allocations: 4.125 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001932/0.5631, allocations: 16 kB / 1.023 GB, free: 12.58 MB / 0.7794 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.000164/0.5632, allocations: 111.2 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5634, allocations: 15.98 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5634, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.5635, allocations: 15.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.5636, allocations: 4.125 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.564, allocations: 138 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5642, allocations: 0.6731 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.5642, allocations: 7.438 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5642, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002059/0.5663, allocations: 0.6918 MB / 1.025 GB, free: 10.86 MB / 0.7794 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/jenkins1/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