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.001418/0.001418, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001596/0.001596, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.004 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 3.077/3.077, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.001921/0.001921, allocations: 66.8 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3857, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002965/0.3887, allocations: 1.29 MB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3898, allocations: 0.5842 MB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.3898, allocations: 0 / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.3898, allocations: 3.984 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.3899, allocations: 3.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.3904, allocations: 140.5 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.3905, allocations: 11.98 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.3905, allocations: 4 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.3906, allocations: 0 / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.3906, allocations: 7.938 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3906, allocations: 3.938 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.3911, allocations: 343.4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.3912, allocations: 4 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.3912, allocations: 0 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3915, allocations: 147.8 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3915, allocations: 0 / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3915, allocations: 0 / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3915, allocations: 4 kB / 1.348 GB, free: 13.92 MB / 1.045 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.0004453/0.3919, allocations: 282 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.392, allocations: 11.97 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/0.392, allocations: 4.188 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.392, allocations: 30.75 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.392, allocations: 4.922 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3922, allocations: 106.5 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3922, allocations: 4.375 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.3922, allocations: 4.375 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.3923, allocations: 41.95 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3923, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.3923, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3923, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.3923, allocations: 4 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.3925, allocations: 120.8 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.93e-05/0.3926, allocations: 30.55 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.3926, allocations: 4.859 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3926, allocations: 4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3926, allocations: 42.55 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3926, allocations: 0 / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.3928, allocations: 33.7 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3929, allocations: 55.34 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.3929, allocations: 102 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.393, allocations: 25.7 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.393, allocations: 84.12 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.393, allocations: 7.938 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.3931, allocations: 17.72 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3932, allocations: 310.8 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3932, allocations: 4 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.3932, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.3933, allocations: 21.05 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3933, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.758e-05/0.3934, allocations: 37.69 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3934, allocations: 7.938 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3934, allocations: 3.938 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3934, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3936, allocations: 11.98 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/0.394, allocations: 0.586 MB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3941, allocations: 4 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3941, allocations: 4.031 kB / 1.35 GB, free: 11.71 MB / 1.045 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.0001029/0.3942, allocations: 109.8 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.3942, allocations: 4 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3943, allocations: 52.92 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3943, allocations: 4.125 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3943, allocations: 7.938 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3943, allocations: 3.938 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3944, allocations: 128.7 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3944, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.3945, allocations: 8 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3945, allocations: 3.984 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3945, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003959/0.3949, allocations: 0.586 MB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3949, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.618e-05/0.395, allocations: 65.06 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.395, allocations: 7.984 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.395, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.591e-05/0.3951, allocations: 3.938 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.3951, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3951, allocations: 8.125 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.3951, allocations: 75.28 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3951, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002132/0.3953, allocations: 15.94 kB / 1.351 GB, free: 10.54 MB / 1.045 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.0005182/0.3958, allocations: 0.618 MB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.396, allocations: 15.98 kB / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.396, allocations: 0 / 1.351 GB, free: 9.879 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.3961, allocations: 15.98 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3963, allocations: 7.938 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.3968, allocations: 133.6 kB / 1.352 GB, free: 9.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3971, allocations: 0.6729 MB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.626e-05/0.3972, allocations: 4 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3972, allocations: 7.438 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3972, allocations: 3.938 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.4195, allocations: 1.424 MB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.9, allocations: 6.312 kB / 1.354 GB, free: 7.723 MB / 1.045 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: 19.495441827981267]