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.001453/0.001453, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001622/0.001622, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.996 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.007/3.007, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.0019/0.0019, allocations: 67.12 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002188/0.3004, allocations: 1.277 MB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.3013, allocations: 0.592 MB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.3013, allocations: 3.938 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3014, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.3014, allocations: 4 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.3019, allocations: 135.4 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.878e-05/0.3019, allocations: 15.94 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.302, allocations: 0 / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.302, allocations: 4 kB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.302, allocations: 11.91 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.302, allocations: 0 / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.3025, allocations: 343.3 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.3025, allocations: 0 / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.3026, allocations: 3.984 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.3028, allocations: 147.8 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3028, allocations: 0 / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3028, allocations: 4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3028, allocations: 0 / 1.355 GB, free: 5.914 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.0003431/0.3032, allocations: 288 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3032, allocations: 12.03 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.3032, allocations: 30.75 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.3032, allocations: 0.9375 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.3033, allocations: 102.5 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3033, allocations: 4.375 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.3034, allocations: 384 / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/0.3034, allocations: 42.25 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3034, allocations: 3.938 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.3035, allocations: 0 / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3035, allocations: 3.984 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.3035, allocations: 11.88 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.3036, allocations: 116.8 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.846e-05/0.3037, allocations: 26.56 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.3037, allocations: 8.859 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3037, allocations: 0 / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3037, allocations: 34.62 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.3037, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.3039, allocations: 45.58 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3039, allocations: 51.41 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.304, allocations: 106 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.304, allocations: 25.7 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.304, allocations: 80.14 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.304, allocations: 3.953 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.3041, allocations: 13.72 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3042, allocations: 318.8 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.3042, allocations: 7.984 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.3042, allocations: 0 / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.3042, allocations: 24.98 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3042, allocations: 0 / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.933e-05/0.3043, allocations: 33.7 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3043, allocations: 7.938 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3043, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3043, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3044, allocations: 15.98 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/0.3048, allocations: 0.586 MB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.3048, allocations: 3.938 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3048, allocations: 4.031 kB / 1.357 GB, free: 3.711 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 7.236e-05/0.3049, allocations: 118.4 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-06/0.3049, allocations: 3.984 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.305, allocations: 41.02 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.305, allocations: 4 kB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.305, allocations: 4.125 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.305, allocations: 3.984 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.3051, allocations: 120.7 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3051, allocations: 0 / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.3051, allocations: 11.98 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3051, allocations: 3.938 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.3052, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/0.3055, allocations: 0.5938 MB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3055, allocations: 3.938 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.3055, allocations: 65.11 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.3055, allocations: 4 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.3056, allocations: 0 / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.3056, allocations: 0 / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.3056, allocations: 3.938 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3056, allocations: 4 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.3056, allocations: 87.3 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3056, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001777/0.3058, allocations: 11.94 kB / 1.358 GB, free: 2.539 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.0003819/0.3062, allocations: 0.6087 MB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3063, allocations: 15.98 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3063, allocations: 0 / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.3064, allocations: 15.92 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3065, allocations: 19.38 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.3069, allocations: 127.8 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3072, allocations: 0.6808 MB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.305e-05/0.3072, allocations: 0 / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.3072, allocations: 11.44 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3072, allocations: 0 / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.3334, allocations: 1.389 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.55, allocations: 8 kB / 1.361 GB, free: 15.74 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.680096298921853]