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.001523/0.001523, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001909/0.001909, allocations: 211.4 kB / 22.24 MB, free: 4.859 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002194/0.002194, allocations: 72.89 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4353, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003042/0.4383, allocations: 1.272 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.4394, allocations: 0.5157 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.4394, allocations: 0 / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.4395, allocations: 3.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.4395, allocations: 7.922 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.4401, allocations: 149.8 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.4402, allocations: 15.92 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.4402, allocations: 4 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.4402, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.4403, allocations: 4 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4403, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.4408, allocations: 267.5 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.4408, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.4409, allocations: 3.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.4412, allocations: 136.8 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4412, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4412, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.4412, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 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.0006217/0.4418, allocations: 278 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.4419, allocations: 12.03 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.4419, allocations: 30.75 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.4419, allocations: 0.9375 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4421, allocations: 114.5 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4421, allocations: 384 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4421, allocations: 384 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4422, allocations: 38.2 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4422, allocations: 7.938 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4422, allocations: 0 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4422, allocations: 0 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.4423, allocations: 4 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.4425, allocations: 124.8 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.4426, allocations: 18.61 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.4426, allocations: 8.922 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.4426, allocations: 0 / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4426, allocations: 38.5 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4426, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001728/0.4428, allocations: 49.62 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4429, allocations: 51.41 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.443, allocations: 97.86 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.443, allocations: 25.7 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.4431, allocations: 80.14 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.4431, allocations: 3.953 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.4431, allocations: 21.7 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4433, allocations: 310.8 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.4433, allocations: 4 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.4433, allocations: 16.19 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.4434, allocations: 16.8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4434, allocations: 4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.503e-05/0.4435, allocations: 41.67 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4435, allocations: 11.88 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4435, allocations: 3.984 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4435, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4437, allocations: 8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005372/0.4442, allocations: 0.5939 MB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.4442, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.4442, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 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.000103/0.4443, allocations: 113.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.4444, allocations: 7.953 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.4445, allocations: 45 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4445, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4445, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4445, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.4446, allocations: 124.7 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4446, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.4447, allocations: 11.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4447, allocations: 3.938 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4447, allocations: 4 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/0.4452, allocations: 0.5782 MB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4452, allocations: 7.938 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.485e-05/0.4453, allocations: 61.12 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.4453, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.4453, allocations: 4.125 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.4453, allocations: 3.938 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.4453, allocations: 3.938 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4453, allocations: 3.984 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.4454, allocations: 79.28 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4454, allocations: 0 / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002087/0.4456, allocations: 8 kB / 1.288 GB, free: 6.703 MB / 0.9825 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.0006098/0.4462, allocations: 0.6046 MB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.4464, allocations: 24.05 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4464, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.4465, allocations: 19.98 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.4466, allocations: 7.875 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.4472, allocations: 139.8 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.308e-05/0.4473, allocations: 63.2 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.4473, allocations: 4.125 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.4474, allocations: 7.438 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4474, allocations: 4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.4807, allocations: 1.781 MB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.34, allocations: 13.53 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 20.46913094492629]