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.0008544/0.0008544, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001003/0.001003, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9126/0.9126, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.577e-05, allocations: 13.03 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002458/0.002484, allocations: 1.275 MB / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.003483, allocations: 0.5259 MB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.003515, allocations: 0 / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.003538, allocations: 0 / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.003582, allocations: 0 / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.004212, allocations: 156.1 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.004272, allocations: 11.94 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.004323, allocations: 3.984 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.004359, allocations: 4 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.004404, allocations: 0 / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.00442, allocations: 4 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.004853, allocations: 271.4 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.004869, allocations: 0 / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.004891, allocations: 4 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.005164, allocations: 151.5 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.005171, allocations: 8 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.482e-06/0.005172, allocations: 3.938 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.005177, allocations: 0 / 0.9528 GB, free: 1.059 MB / 0.9011 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.0004042/0.005581, allocations: 278 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.005636, allocations: 8.031 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.005676, allocations: 30.75 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.005705, allocations: 4.938 kB / 0.9532 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.005803, allocations: 101.8 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.005815, allocations: 384 / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.005825, allocations: 4.375 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.005932, allocations: 42.19 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.005941, allocations: 192 / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005951, allocations: 4.375 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005958, allocations: 4.125 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.005986, allocations: 0 / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.006146, allocations: 124.8 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.006208, allocations: 22.61 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.006227, allocations: 4.859 kB / 0.9534 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.00625, allocations: 0 / 0.9534 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.006276, allocations: 42.5 kB / 0.9535 GB, free: 272 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.006278, allocations: 4 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.00644, allocations: 41.69 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.00648, allocations: 55.34 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.006557, allocations: 97.86 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.006572, allocations: 25.7 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.006615, allocations: 80.14 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.006643, allocations: 7.953 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.006674, allocations: 9.719 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.006773, allocations: 322.8 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.006789, allocations: 256 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.0068, allocations: 8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.006836, allocations: 12.8 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006838, allocations: 0 / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.697e-05/0.006915, allocations: 41.66 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.006932, allocations: 6.656 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.006939, allocations: 7.984 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006954, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.007123, allocations: 11.94 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003754/0.007499, allocations: 0.5861 MB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.007526, allocations: 4 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.007534, allocations: 3.984 kB / 0.9548 GB, free: 14.87 MB / 0.9167 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 7.911e-05/0.007613, allocations: 117.9 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.007623, allocations: 3.938 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.007745, allocations: 48.94 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007748, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.007752, allocations: 0 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007755, allocations: 128 / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.802e-05/0.007843, allocations: 120.8 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.007846, allocations: 3.938 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.007936, allocations: 11.98 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007939, allocations: 0 / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.007946, allocations: 4 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002947/0.008241, allocations: 0.5859 MB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008242, allocations: 0 / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.008322, allocations: 69.09 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.008329, allocations: 4.062 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.008342, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.00836, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.008377, allocations: 7.938 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.00838, allocations: 0 / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.008413, allocations: 79.27 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.008413, allocations: 0 / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002245/0.008638, allocations: 15.88 kB / 0.9558 GB, free: 13.7 MB / 0.9167 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.0004314/0.009069, allocations: 0.6087 MB / 0.9564 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.009264, allocations: 23.92 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.009266, allocations: 0 / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.009333, allocations: 11.98 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.009503, allocations: 4 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.01007, allocations: 134.4 kB / 0.9566 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01011, allocations: 59.34 kB / 0.9566 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.01013, allocations: 4.125 kB / 0.9566 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.01017, allocations: 8.5 kB / 0.9566 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/0.01017, allocations: 0 / 0.9566 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.02793, allocations: 1.951 MB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.075, allocations: 2.625 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/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: 12.315285968594253]