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.001412/0.001412, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001626/0.001626, allocations: 214 kB / 22.25 MB, free: 5.262 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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.034/3.034, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",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.001902/0.001902, allocations: 66.31 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002624/0.3121, allocations: 1.278 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3131, allocations: 0.5142 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.3131, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.3131, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.3132, allocations: 11.92 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.3138, allocations: 133.9 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.261e-05/0.3138, allocations: 11.97 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.3139, allocations: 4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.3139, allocations: 15.88 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.3139, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.314, allocations: 4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.3144, allocations: 267.5 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3144, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.3144, allocations: 3.938 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3147, allocations: 135.9 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3147, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3147, allocations: 3.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.3147, allocations: 0 / 1.366 GB, free: 11.79 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.000376/0.3151, allocations: 287.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3151, allocations: 8.031 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.3151, allocations: 30.75 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.3152, allocations: 0.9375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3153, allocations: 114.5 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3153, allocations: 384 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.3153, allocations: 4.359 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.3154, allocations: 34.27 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3154, allocations: 3.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.3154, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3154, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.3154, allocations: 7.938 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.3156, allocations: 124.8 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.3157, allocations: 18.61 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.3157, allocations: 8.922 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3157, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3157, allocations: 30.56 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3157, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001599/0.3159, allocations: 57.52 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3159, allocations: 55.53 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.316, allocations: 97.86 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.316, allocations: 25.7 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.3161, allocations: 80.14 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.3161, allocations: 3.953 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.3161, allocations: 17.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3163, allocations: 314.8 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.3163, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/0.3163, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3163, allocations: 21.05 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3163, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.639e-05/0.3164, allocations: 41.62 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3164, allocations: 7.938 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3164, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3164, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3166, allocations: 8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/0.317, allocations: 0.586 MB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.317, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.317, allocations: 4.125 kB / 1.368 GB, free: 9.594 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 8.422e-05/0.3171, allocations: 122.8 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.3171, allocations: 4.031 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3172, allocations: 52.88 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3172, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3172, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3172, allocations: 0 / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3173, allocations: 124.7 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3173, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.3174, allocations: 12.02 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3174, allocations: 4 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.3174, allocations: 0 / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003478/0.3178, allocations: 0.5937 MB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3178, allocations: 3.938 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.3179, allocations: 61.16 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.3179, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.3179, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.3179, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3179, allocations: 8.047 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3179, allocations: 4 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.318, allocations: 79.28 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.318, allocations: 0 / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001843/0.3181, allocations: 11.94 kB / 1.369 GB, free: 8.414 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.0004626/0.3186, allocations: 0.6085 MB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.3188, allocations: 15.98 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3188, allocations: 192 / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.3188, allocations: 23.92 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.319, allocations: 7.938 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.3195, allocations: 131.4 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.834e-05/0.3195, allocations: 63.28 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.483e-05/0.3195, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3196, allocations: 7.438 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3196, allocations: 4.062 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.3479, allocations: 1.794 MB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.74, allocations: 11.41 kB / 1.371 GB, free: 5.836 MB / 1.061 GB " [Timeout remaining time 288] (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: 17.88314165873453]