Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001803/0.001803, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002176/0.002176, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.086/3.086, allocations: 0.5003 GB / 0.8062 GB, free: 28.38 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_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",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.001907/0.001907, allocations: 66.17 kB / 1.17 GB, free: 19.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002595/0.3253, allocations: 1.26 MB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3263, allocations: 0.5181 MB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.3263, allocations: 0 / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3264, allocations: 3.938 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.3264, allocations: 0 / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.327, allocations: 146 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.327, allocations: 7.938 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3271, allocations: 0 / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.3271, allocations: 19.86 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.3271, allocations: 3.984 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.3271, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3276, allocations: 275.5 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3276, allocations: 7.984 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3276, allocations: 7.938 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3279, allocations: 131.9 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3279, allocations: 4 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3279, allocations: 0 / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3279, allocations: 0 / 1.348 GB, free: 13.62 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.0004049/0.3283, allocations: 286 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3283, allocations: 8.031 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.3284, allocations: 4.125 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.3284, allocations: 30.75 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.3284, allocations: 8.938 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.3285, allocations: 106.5 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3285, allocations: 4.375 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.3285, allocations: 384 / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.3286, allocations: 38 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.3286, allocations: 0 / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.3286, allocations: 0 / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3286, allocations: 4 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.3287, allocations: 3.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.3288, allocations: 120.8 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.3289, allocations: 30.64 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.3289, allocations: 12.86 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3289, allocations: 0 / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.329, allocations: 38.5 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.329, allocations: 0 / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.3291, allocations: 41.64 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3291, allocations: 51.41 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.3292, allocations: 97.84 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3292, allocations: 25.7 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.3293, allocations: 80.14 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3293, allocations: 12.2 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.3293, allocations: 13.72 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3295, allocations: 310.8 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.3295, allocations: 4 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.3295, allocations: 11.98 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.3295, allocations: 8.859 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3295, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.661e-05/0.3296, allocations: 41.64 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3296, allocations: 13.75 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3296, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3296, allocations: 8.094 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3298, allocations: 11.98 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/0.3302, allocations: 0.5821 MB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.3302, allocations: 0 / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3302, allocations: 3.938 kB / 1.35 GB, free: 11.41 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 9.033e-05/0.3303, allocations: 118.4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-06/0.3303, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3304, allocations: 45.09 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3304, allocations: 4.031 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3304, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3304, allocations: 0 / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3305, allocations: 128.7 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3305, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.3306, allocations: 11.98 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3306, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.3306, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000359/0.3309, allocations: 0.5898 MB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.331, allocations: 96 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.757e-05/0.331, allocations: 77.11 kB / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.331, allocations: 0 / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.3311, allocations: 0 / 1.35 GB, free: 10.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.3311, allocations: 7.938 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.3311, allocations: 0 / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3311, allocations: 4 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.3311, allocations: 75.28 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3311, allocations: 0 / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001998/0.3313, allocations: 11.94 kB / 1.351 GB, free: 10.25 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.0004475/0.3318, allocations: 0.6125 MB / 1.351 GB, free: 9.605 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.3319, allocations: 19.98 kB / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3319, allocations: 0 / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.332, allocations: 19.92 kB / 1.351 GB, free: 9.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3322, allocations: 4.875 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3326, allocations: 135.9 kB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.3327, allocations: 63.34 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.379e-05/0.3327, allocations: 3.938 kB / 1.351 GB, free: 9.301 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3327, allocations: 11.42 kB / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3327, allocations: 0 / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3543, allocations: 1.473 MB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.58, allocations: 12 kB / 1.353 GB, free: 7.992 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 19.047441685921513]