Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 101.9 kB / 19.73 MB, free: 2.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002539/0.002539, allocations: 222.5 kB / 23.03 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.954/2.954, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 64.42 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3989, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002867/0.4018, allocations: 1.277 MB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.403, allocations: 0.5312 MB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.4031, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.4031, allocations: 0 / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.4031, allocations: 3.938 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.4038, allocations: 141.4 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.4039, allocations: 8 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.168e-05/0.404, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.404, allocations: 4 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.4041, allocations: 11.91 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4041, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.4046, allocations: 279.5 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.4046, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.4046, allocations: 11.91 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.405, allocations: 128.6 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.405, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.405, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.405, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 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.0005326/0.4055, allocations: 286 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.4056, allocations: 8.031 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/0.4056, allocations: 192 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.4056, allocations: 38.69 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.4057, allocations: 0.9375 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4058, allocations: 106.5 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4059, allocations: 384 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4059, allocations: 4.375 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.406, allocations: 38.02 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.406, allocations: 3.984 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.406, allocations: 4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.406, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.4061, allocations: 4 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.4063, allocations: 116.8 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.4063, allocations: 26.55 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.4064, allocations: 12.84 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.4064, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.4064, allocations: 38.56 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4064, allocations: 7.875 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001919/0.4066, allocations: 41.73 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.4067, allocations: 51.41 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.4068, allocations: 101.8 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4068, allocations: 25.7 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.4069, allocations: 80.14 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.4069, allocations: 7.953 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.4069, allocations: 13.72 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4071, allocations: 318.8 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.4071, allocations: 0 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.4071, allocations: 4 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.4072, allocations: 21.06 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4072, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.725e-05/0.4072, allocations: 37.64 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4073, allocations: 11.94 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4073, allocations: 0 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4073, allocations: 0 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.4075, allocations: 11.98 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004915/0.408, allocations: 0.5821 MB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.408, allocations: 128 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.408, allocations: 4 kB / 1.288 GB, free: 6.055 MB / 0.9825 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 0.0001026/0.4081, allocations: 119.1 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.4081, allocations: 3.953 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4082, allocations: 48.94 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4082, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4082, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4082, allocations: 7.984 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.4084, allocations: 124.7 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4084, allocations: 4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.4084, allocations: 8.031 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.4084, allocations: 11.98 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4084, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.4089, allocations: 0.5859 MB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4089, allocations: 0 / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.4089, allocations: 61.17 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.4089, allocations: 3.984 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.409, allocations: 3.938 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.409, allocations: 4.062 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.409, allocations: 8 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.409, allocations: 0 / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.409, allocations: 75.28 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4091, allocations: 0 / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002182/0.4093, allocations: 15.94 kB / 1.289 GB, free: 4.883 MB / 0.9825 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.0005129/0.4098, allocations: 0.6124 MB / 1.29 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.41, allocations: 16.11 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.41, allocations: 4.062 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.4101, allocations: 15.98 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.4102, allocations: 7.938 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.4108, allocations: 146 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.4109, allocations: 59.22 kB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.4109, allocations: 0 / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4109, allocations: 11.5 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.4109, allocations: 0 / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.4348, allocations: 1.458 MB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.76, allocations: 15.05 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.111856344970874]