Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.001467/0.001467, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001679/0.001679, allocations: 219 kB / 23.04 MB, free: 5.078 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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 2.917/2.917, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.001826/0.001826, allocations: 65.19 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2933, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001574/0.2948, allocations: 0.5406 MB / 1.346 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.2949, allocations: 11.92 kB / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.295, allocations: 0 / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.295, allocations: 0 / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.2951, allocations: 7.938 kB / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-06/0.2951, allocations: 0 / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.2952, allocations: 4 kB / 1.346 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.2952, allocations: 7.984 kB / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.2952, allocations: 3.984 kB / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.2953, allocations: 4 kB / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.2953, allocations: 0 / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.2953, allocations: 7.938 kB / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.2953, allocations: 0 / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.143e-05/0.2953, allocations: 0 / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 3.756e-05/0.2953, allocations: 0 / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2953, allocations: 0 / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2953, allocations: 0 / 1.346 GB, free: 15.88 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2953, allocations: 0 / 1.346 GB, free: 15.88 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.0002561/0.2956, allocations: 250.6 kB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2956, allocations: 12.03 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.2956, allocations: 4.125 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.2957, allocations: 30.75 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.2957, allocations: 0.9375 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.2958, allocations: 110.9 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.2958, allocations: 384 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.2958, allocations: 384 / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.2959, allocations: 55.72 kB / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2959, allocations: 0 / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.2959, allocations: 0 / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2959, allocations: 4 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.2959, allocations: 3.938 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.2961, allocations: 129.6 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.2961, allocations: 41.22 kB / 1.346 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.2961, allocations: 17.72 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.2962, allocations: 7.969 kB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2962, allocations: 38.56 kB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2962, allocations: 0 / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/0.2963, allocations: 41.62 kB / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2964, allocations: 85.36 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.2964, allocations: 93.86 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2964, allocations: 25.7 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.2965, allocations: 84.08 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.2965, allocations: 3.953 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2965, allocations: 17.72 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2967, allocations: 314.8 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.2967, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.2967, allocations: 17.84 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.2967, allocations: 21.66 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2967, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.807e-05/0.2968, allocations: 45.62 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2968, allocations: 7.938 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2968, allocations: 4 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.2968, allocations: 4.125 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.2969, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2969, allocations: 0 / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.2969, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2969, allocations: 0 / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.297, allocations: 109.8 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.297, allocations: 7.938 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2971, allocations: 56.56 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2971, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2971, allocations: 3.984 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2971, allocations: 0 / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2972, allocations: 120.7 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2972, allocations: 0 / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.2972, allocations: 4 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2972, allocations: 3.938 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2972, allocations: 3.984 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2972, allocations: 4 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2972, allocations: 4.062 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.177e-05/0.2973, allocations: 69.89 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.2973, allocations: 15.92 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.2973, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.2974, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.2974, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2974, allocations: 8.031 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.2974, allocations: 75.28 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2974, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000189/0.2976, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003613/0.2979, allocations: 0.6094 MB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.298, allocations: 8 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.298, allocations: 3.938 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.298, allocations: 11.92 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.2982, allocations: 4 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.2984, allocations: 113 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.2987, allocations: 0.6805 MB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.2987, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.2987, allocations: 11.44 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.2987, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3185, allocations: 1.063 MB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.69, allocations: 14.19 kB / 1.35 GB, free: 11.16 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.715615369961597]