Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00128/0.00128, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001405/0.001405, allocations: 215 kB / 22.24 MB, free: 5.121 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_12_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.001972/0.001972, allocations: 63.67 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002486/0.3274, allocations: 1.28 MB / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.3283, allocations: 0.5181 MB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.3284, allocations: 0 / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.3284, allocations: 0 / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.3284, allocations: 3.938 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3289, allocations: 136.8 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.329, allocations: 15.92 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.329, allocations: 3.984 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.329, allocations: 4 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.3291, allocations: 3.938 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3291, allocations: 0 / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3295, allocations: 275.5 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.3295, allocations: 0 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.3296, allocations: 0 / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3298, allocations: 135.8 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3298, allocations: 0 / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3298, allocations: 4 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3298, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 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.0004233/0.3302, allocations: 278 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3303, allocations: 12.03 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.3303, allocations: 34.75 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.3303, allocations: 4.891 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3305, allocations: 110.5 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3305, allocations: 384 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.3305, allocations: 384 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.3306, allocations: 34.25 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3306, allocations: 7.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.3306, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3306, allocations: 3.984 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.3307, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.3308, allocations: 120.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.3309, allocations: 30.53 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3309, allocations: 8.922 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3309, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3309, allocations: 30.56 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.3309, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.3311, allocations: 49.62 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3311, allocations: 51.41 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.3312, allocations: 93.86 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3312, allocations: 29.64 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3313, allocations: 88.08 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3313, allocations: 3.953 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.3313, allocations: 13.72 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3314, allocations: 314.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.3314, allocations: 8.25 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.3315, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.3315, allocations: 8.859 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3315, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.053e-05/0.3315, allocations: 37.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3316, allocations: 7.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3316, allocations: 3.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3316, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3317, allocations: 11.94 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000402/0.3321, allocations: 0.5822 MB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.3321, allocations: 7.984 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3321, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 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 8.22e-05/0.3322, allocations: 113.8 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.3322, allocations: 4 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.3324, allocations: 44.95 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3324, allocations: 3.984 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3324, allocations: 3.938 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3324, allocations: 128 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3325, allocations: 136.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3325, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.3326, allocations: 11.98 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3326, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.3326, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/0.3329, allocations: 0.5782 MB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3329, allocations: 7.969 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.709e-05/0.333, allocations: 65.06 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.333, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.333, allocations: 12.12 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.3331, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.3331, allocations: 3.938 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3331, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.3331, allocations: 87.2 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3331, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000187/0.3333, allocations: 11.94 kB / 1.33 GB, free: 12.63 MB / 1.029 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.0005339/0.3338, allocations: 0.6135 MB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.334, allocations: 28.11 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.334, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.3341, allocations: 15.98 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3342, allocations: 3.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3346, allocations: 131.8 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.3347, allocations: 63.28 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.3347, allocations: 4.125 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3347, allocations: 7.438 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3347, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.363, allocations: 1.794 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.09, allocations: 15.19 kB / 1.333 GB, free: 10.02 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.303536540828645]