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.009642/0.009642, allocations: 105.7 kB / 15.74 MB, free: 6.012 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.002037/0.002037, allocations: 199.2 kB / 16.68 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.823/2.823, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 75.81 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9531, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002284/0.9555, allocations: 1.249 MB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.9565, allocations: 0.5939 MB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.9565, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.9565, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.9566, allocations: 0 / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.9571, allocations: 139.4 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.9572, allocations: 19.92 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.9573, allocations: 0 / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.9573, allocations: 7.984 kB / 1.168 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.9573, allocations: 7.938 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.9574, allocations: 0 / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.9579, allocations: 343.3 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.9579, allocations: 3.984 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.9579, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.9582, allocations: 141.9 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9582, allocations: 0 / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9582, allocations: 0 / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.9582, allocations: 0 / 1.169 GB, free: 1.273 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.0004173/0.9586, allocations: 355.5 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9587, allocations: 12.92 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.9587, allocations: 30.75 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.9588, allocations: 0.9375 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.9589, allocations: 164.3 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.9589, allocations: 4.375 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.9589, allocations: 4.359 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.959, allocations: 38.25 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.959, allocations: 7.875 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.9591, allocations: 4 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.9591, allocations: 0 / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.9591, allocations: 4 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.9593, allocations: 153.6 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.9593, allocations: 22.61 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.9594, allocations: 4.859 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.9594, allocations: 12 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.9594, allocations: 34.56 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 3.927e-06/0.9594, allocations: 0 / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.9596, allocations: 45.56 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.9596, allocations: 51.41 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.9597, allocations: 97.86 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.9597, allocations: 25.7 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.9598, allocations: 80.14 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.9598, allocations: 12.09 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.9598, allocations: 17.72 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.9599, allocations: 314.8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.96, allocations: 4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-06/0.96, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.96, allocations: 20.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.96, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.869e-05/0.9601, allocations: 37.7 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9601, allocations: 16.02 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.9601, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9601, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.9603, allocations: 8 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/0.9607, allocations: 0.586 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.9607, allocations: 8.031 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.9607, allocations: 3.984 kB / 1.171 GB, free: 14.87 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 6.967e-05/0.9608, allocations: 113.9 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.9608, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.9609, allocations: 44.81 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.961, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.961, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.961, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.9611, allocations: 157.5 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9611, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.9612, allocations: 16.02 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9612, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.9612, allocations: 3.938 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003309/0.9615, allocations: 0.5821 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9615, allocations: 3.938 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.9616, allocations: 65.25 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.9617, allocations: 81.11 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.9617, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.461e-05/0.9617, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.9617, allocations: 11.86 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.9617, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.9618, allocations: 83.22 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9618, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002017/0.962, allocations: 8 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.0004349/0.9624, allocations: 0.6126 MB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.9626, allocations: 23.92 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9626, allocations: 0 / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.9627, allocations: 20.08 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.000164/0.9629, allocations: 4.5 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.0005074/0.9634, allocations: 145 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.9637, allocations: 0.6729 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.9637, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.9637, allocations: 11.44 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.9637, allocations: 4.062 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.983, allocations: 1.372 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.44, allocations: 7.812 kB / 1.175 GB, free: 10.8 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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