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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004704/0.004704, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001061/0.001061, allocations: 187.5 kB / 16.67 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 67.84 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8575/0.8598, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002532/0.8624, allocations: 1.257 MB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.8634, allocations: 0.5901 MB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.8635, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.8635, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.8636, allocations: 11.92 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.8642, allocations: 127.4 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.8643, allocations: 15.97 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.8643, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.8644, allocations: 12 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.8644, allocations: 7.875 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.8644, allocations: 0 / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.8649, allocations: 347.3 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.8649, allocations: 0 / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.865, allocations: 7.984 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.8652, allocations: 139.2 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.8653, allocations: 3.984 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.416e-06/0.8653, allocations: 4 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8653, allocations: 0 / 1.169 GB, free: 1.27 MB / 0.8887 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.0003969/0.8657, allocations: 359.1 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8657, allocations: 8.922 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.8658, allocations: 34.75 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.8658, allocations: 0.9375 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.8659, allocations: 168.3 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8659, allocations: 384 / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.8659, allocations: 384 / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.866, allocations: 34.25 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8661, allocations: 3.938 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.8661, allocations: 4 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8661, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.8661, allocations: 11.94 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.8663, allocations: 149.7 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.8663, allocations: 30.5 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.8664, allocations: 8.922 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.8664, allocations: 0 / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.8664, allocations: 34.56 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.8664, allocations: 0 / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.8666, allocations: 45.62 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.8666, allocations: 55.41 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.8667, allocations: 89.86 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8667, allocations: 33.64 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.8667, allocations: 80.14 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.8668, allocations: 8.203 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.8668, allocations: 17.7 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.8669, allocations: 314.8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.8669, allocations: 4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.867, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.867, allocations: 8.859 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.867, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.478e-05/0.8671, allocations: 45.64 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8671, allocations: 12.03 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.8671, allocations: 3.938 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8671, allocations: 4 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.8673, allocations: 7.938 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003971/0.8677, allocations: 0.586 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.8677, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8677, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 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 8.057e-05/0.8678, allocations: 113.9 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.8678, allocations: 8.031 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.8679, allocations: 48.75 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.868, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.868, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.868, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.8681, allocations: 153.6 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8681, allocations: 3.984 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.8682, allocations: 12.03 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8682, allocations: 3.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.8682, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003007/0.8685, allocations: 0.586 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8685, allocations: 3.938 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.8686, allocations: 73.19 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.8686, allocations: 77.11 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.8687, allocations: 4 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.454e-05/0.8687, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.8687, allocations: 7.922 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8687, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.8687, allocations: 75.28 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8688, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002071/0.869, allocations: 12.06 kB / 1.172 GB, free: 13.57 MB / 0.9044 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.000409/0.8694, allocations: 0.6124 MB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.8696, allocations: 20 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8696, allocations: 96 / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.8697, allocations: 15.98 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.8698, allocations: 10.78 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.8703, allocations: 127.6 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.8705, allocations: 0.6806 MB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.8705, allocations: 0 / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.8706, allocations: 16.94 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8706, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.8917, allocations: 1.37 MB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.9, allocations: 11.88 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/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