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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.481/2.481, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00185/0.00185, allocations: 59.91 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7352, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001835/0.737, allocations: 1.266 MB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.7378, allocations: 0.5958 MB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.7378, allocations: 0.9062 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.7378, allocations: 0 / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.7379, allocations: 3.938 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.7383, allocations: 147.4 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.7383, allocations: 5.75 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.7384, allocations: 2.125 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.7384, allocations: 2.406 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.7384, allocations: 11.36 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.7384, allocations: 0.7188 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.7389, allocations: 347.4 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.7389, allocations: 0 / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.7389, allocations: 2.188 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.7391, allocations: 149.4 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7391, allocations: 4 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7391, allocations: 1 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.7391, allocations: 0 / 1.274 GB, free: 6.168 MB / 0.9981 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.0002522/0.7394, allocations: 342.9 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7394, allocations: 9.719 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.823e-05/0.7395, allocations: 41.33 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.7395, allocations: 1.844 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.243e-05/0.7395, allocations: 165.4 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.7395, allocations: 1.594 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.7395, allocations: 13.02 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.005e-05/0.7396, allocations: 31.55 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7396, allocations: 3.938 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-06/0.7396, allocations: 1.031 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.7396, allocations: 0 / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.7396, allocations: 3.438 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.004e-05/0.7397, allocations: 151.5 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.7398, allocations: 27.36 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.7398, allocations: 12.2 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.7398, allocations: 1.094 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.7398, allocations: 31.22 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7398, allocations: 1 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001123/0.7399, allocations: 50.09 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.74, allocations: 56.44 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.287e-05/0.74, allocations: 96.23 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-06/0.74, allocations: 25.7 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.028e-05/0.74, allocations: 82.17 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.74, allocations: 12.89 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.74, allocations: 15 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.7401, allocations: 311.7 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.7401, allocations: 5.625 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-06/0.7401, allocations: 6.562 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.7401, allocations: 14.78 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.7401, allocations: 0 / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.759e-05/0.7402, allocations: 39.8 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7402, allocations: 11.88 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.7402, allocations: 0 / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7402, allocations: 0.875 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7403, allocations: 11.06 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/0.7405, allocations: 0.5879 MB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.7405, allocations: 1.125 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.7405, allocations: 1.062 kB / 1.276 GB, free: 3.914 MB / 0.9981 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 3.775e-05/0.7406, allocations: 111.6 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.7406, allocations: 1.031 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/0.7407, allocations: 49.8 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7407, allocations: 5.125 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7407, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.7407, allocations: 0 / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.576e-05/0.7407, allocations: 155 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7407, allocations: 1.031 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.7408, allocations: 9.969 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.7408, allocations: 0 / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.7408, allocations: 1.094 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001464/0.7409, allocations: 0.5904 MB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7409, allocations: 3.938 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.84e-05/0.741, allocations: 64.77 kB / 1.277 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.741, allocations: 80 kB / 1.277 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.741, allocations: 0.875 kB / 1.277 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.741, allocations: 0.8125 kB / 1.277 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.741, allocations: 12.91 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.741, allocations: 3.516 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.579e-05/0.741, allocations: 85.16 kB / 1.277 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.741, allocations: 0 / 1.277 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001777/0.7412, allocations: 11.38 kB / 1.277 GB, free: 2.691 MB / 0.9981 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.0002394/0.7415, allocations: 0.6124 MB / 1.278 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.7416, allocations: 23.52 kB / 1.278 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7416, allocations: 0 / 1.278 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.7417, allocations: 18.3 kB / 1.278 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.7418, allocations: 5.875 kB / 1.278 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.7422, allocations: 145.2 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.7425, allocations: 0.6722 MB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.7425, allocations: 1.422 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.7425, allocations: 12.25 kB / 1.279 GB, free: 17.21 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.7425, allocations: 3.938 kB / 1.279 GB, free: 17.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.7666, allocations: 1.325 MB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.98, allocations: 8.094 kB / 1.28 GB, free: 16.82 MB / 1.014 GB " [Timeout remaining time 289] (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/jenkins1/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: 16.346905357997457]