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.001435/0.001435, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.001467/0.001467, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.153/3.153, allocations: 0.505 GB / 0.8066 GB, free: 23.02 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.002137/0.002137, allocations: 68.06 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3343, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002375/0.3367, allocations: 1.285 MB / 1.349 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.3377, allocations: 0.5842 MB / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.3377, allocations: 0 / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3377, allocations: 0 / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.3377, allocations: 3.938 kB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.3383, allocations: 135.5 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.3383, allocations: 23.91 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.3384, allocations: 0 / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.3384, allocations: 4 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.3384, allocations: 3.938 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3384, allocations: 0 / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.3389, allocations: 347.3 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.3389, allocations: 0 / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.339, allocations: 0 / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3392, allocations: 147.8 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3392, allocations: 4 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3392, allocations: 0 / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3392, allocations: 0 / 1.35 GB, free: 7.441 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.0004393/0.3397, allocations: 359.1 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3397, allocations: 11.98 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3398, allocations: 34.75 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.3398, allocations: 0.9375 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3399, allocations: 160.4 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3399, allocations: 384 / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.3399, allocations: 4.375 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.34, allocations: 42.19 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.34, allocations: 3.938 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.34, allocations: 0 / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.34, allocations: 7.938 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.3401, allocations: 3.938 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.3402, allocations: 149.7 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.607e-05/0.3403, allocations: 26.59 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.3403, allocations: 8.922 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3403, allocations: 0 / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3404, allocations: 34.5 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3404, allocations: 0 / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.3405, allocations: 45.64 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3405, allocations: 55.39 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.3406, allocations: 97.98 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3406, allocations: 29.7 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.3407, allocations: 80.14 kB / 1.351 GB, free: 6.098 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3407, allocations: 3.953 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.3407, allocations: 13.72 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3408, allocations: 318.8 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.3409, allocations: 0 / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.3409, allocations: 4 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.3409, allocations: 16.98 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3409, allocations: 0 / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.943e-05/0.341, allocations: 41.69 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.341, allocations: 11.94 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.341, allocations: 4 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.341, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3411, allocations: 11.98 kB / 1.352 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003923/0.3415, allocations: 0.5899 MB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.3415, allocations: 0 / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3415, allocations: 0 / 1.352 GB, free: 5.043 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 8.636e-05/0.3416, allocations: 121.8 kB / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-06/0.3416, allocations: 0 / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.3417, allocations: 40.83 kB / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3417, allocations: 128 / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3417, allocations: 4 kB / 1.352 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3417, allocations: 3.984 kB / 1.352 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3419, allocations: 153.6 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3419, allocations: 0 / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.3419, allocations: 19.86 kB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3419, allocations: 0 / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.3419, allocations: 0 / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003311/0.3423, allocations: 0.5821 MB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.3423, allocations: 3.938 kB / 1.353 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.725e-05/0.3424, allocations: 77.05 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3424, allocations: 77.11 kB / 1.353 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.3424, allocations: 3.938 kB / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.3424, allocations: 0 / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.3424, allocations: 7.938 kB / 1.353 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3424, allocations: 4.125 kB / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3425, allocations: 79.27 kB / 1.353 GB, free: 3.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3425, allocations: 0 / 1.353 GB, free: 3.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001872/0.3427, allocations: 11.94 kB / 1.353 GB, free: 3.734 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.0004468/0.3431, allocations: 0.6126 MB / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3433, allocations: 23.92 kB / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3433, allocations: 0 / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.3434, allocations: 11.98 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3435, allocations: 4.75 kB / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.344, allocations: 135.7 kB / 1.354 GB, free: 2.879 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3443, allocations: 0.6768 MB / 1.355 GB, free: 2.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.394e-05/0.3443, allocations: 0 / 1.355 GB, free: 2.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3443, allocations: 11.44 kB / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3443, allocations: 0 / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.3715, allocations: 1.396 MB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 7.328 kB / 1.356 GB, free: 0.9922 MB / 1.045 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.356459624832496]