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.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.001727/0.001727, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002135/0.002135, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.942/2.942, allocations: 0.5003 GB / 0.8026 GB, free: 6.859 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_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.001952/0.001952, allocations: 63.91 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8854, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002011/0.8874, allocations: 1.279 MB / 1.341 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000832/0.8882, allocations: 0.579 MB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.8883, allocations: 3.938 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.8883, allocations: 0.6094 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.8883, allocations: 9.625 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.8888, allocations: 145.6 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.8889, allocations: 9.656 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.8889, allocations: 10.62 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.8889, allocations: 2.734 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.889, allocations: 3.406 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.889, allocations: 1.062 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.8895, allocations: 339.4 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.8895, allocations: 6.219 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.8895, allocations: 5.312 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.8897, allocations: 141.2 kB / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8897, allocations: 0 / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.213e-06/0.8897, allocations: 0 / 1.343 GB, free: 14.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.8898, allocations: 0 / 1.343 GB, free: 14.73 MB / 1.061 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.0003198/0.8901, allocations: 356.8 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.8901, allocations: 9.125 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.247e-05/0.8901, allocations: 4.188 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.943e-05/0.8901, allocations: 36.98 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.8902, allocations: 1.547 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.8902, allocations: 162.9 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.8903, allocations: 0.9844 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.8903, allocations: 2.25 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.8904, allocations: 39.34 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8904, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.8904, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.8904, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.8904, allocations: 8.234 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.8905, allocations: 150.3 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.8906, allocations: 24.45 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.8906, allocations: 11.61 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.8906, allocations: 5.828 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.8906, allocations: 39.34 kB / 1.343 GB, free: 13.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.8906, allocations: 4 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.8908, allocations: 38.12 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.8908, allocations: 55.34 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.103e-05/0.8908, allocations: 98.92 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-06/0.8908, allocations: 25.7 kB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.8908, allocations: 80.7 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.8909, allocations: 10.45 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.8909, allocations: 23.69 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.8909, allocations: 314 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.8909, allocations: 1.781 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.891, allocations: 2.516 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/0.891, allocations: 13.62 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.891, allocations: 2.25 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.066e-05/0.891, allocations: 37.52 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.891, allocations: 9.859 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.891, allocations: 9.312 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8911, allocations: 0 / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.8912, allocations: 10.08 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002151/0.8914, allocations: 0.5838 MB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.8914, allocations: 0 / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.8914, allocations: 5.891 kB / 1.345 GB, free: 12.46 MB / 1.061 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 4.447e-05/0.8915, allocations: 116 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.8915, allocations: 5.375 kB / 1.345 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.8916, allocations: 48.39 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.8916, allocations: 0 / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.8916, allocations: 1.375 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.8916, allocations: 0.7031 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.192e-05/0.8916, allocations: 150.4 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8916, allocations: 0.75 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.8917, allocations: 9.953 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8917, allocations: 4.688 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.8917, allocations: 5.281 kB / 1.345 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001593/0.8919, allocations: 0.5866 MB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8919, allocations: 5.984 kB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.377e-05/0.8919, allocations: 69.05 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.892, allocations: 77.81 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.892, allocations: 1.156 kB / 1.346 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.892, allocations: 4.688 kB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.892, allocations: 1.156 kB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.892, allocations: 1.734 kB / 1.346 GB, free: 11.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.639e-05/0.892, allocations: 77.34 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.892, allocations: 1.281 kB / 1.346 GB, free: 11.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001861/0.8922, allocations: 11.16 kB / 1.346 GB, free: 11.25 MB / 1.061 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.0002433/0.8924, allocations: 0.6122 MB / 1.346 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.8926, allocations: 16.16 kB / 1.346 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8926, allocations: 0 / 1.346 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.8927, allocations: 17.22 kB / 1.346 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.8928, allocations: 13.34 kB / 1.346 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.8932, allocations: 145.8 kB / 1.347 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.8933, allocations: 0.6737 MB / 1.347 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.8933, allocations: 0.75 kB / 1.347 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.8933, allocations: 8.438 kB / 1.347 GB, free: 9.766 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.8933, allocations: 5.531 kB / 1.347 GB, free: 9.762 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.9127, allocations: 1.428 MB / 1.349 GB, free: 9.406 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.54, allocations: 16.16 kB / 1.349 GB, free: 9.398 MB / 1.061 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.918110508995596]