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.001442/0.001442, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00166/0.00166, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 8.023 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.948/2.948, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.001916/0.001916, allocations: 65.75 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2926, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001586/0.2941, allocations: 0.5289 MB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.2943, allocations: 23.89 kB / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.2943, allocations: 0 / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.2943, allocations: 0 / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2944, allocations: 8 kB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.2944, allocations: 0 / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.2945, allocations: 3.938 kB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.2945, allocations: 8 kB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2946, allocations: 0 / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.2946, allocations: 3.984 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2946, allocations: 0 / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.2946, allocations: 7.938 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.2946, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.2946, allocations: 7.984 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 4.102e-05/0.2947, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2947, allocations: 4 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2947, allocations: 0 / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2947, allocations: 0 / 1.353 GB, free: 7.848 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.000267/0.295, allocations: 242.7 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.295, allocations: 15.95 kB / 1.354 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.295, allocations: 34.75 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.2951, allocations: 0.9375 kB / 1.354 GB, free: 7.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.2951, allocations: 110.5 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2952, allocations: 4.312 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.2952, allocations: 4.375 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.2953, allocations: 40.39 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2953, allocations: 3.938 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.2953, allocations: 0 / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2953, allocations: 3.984 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.2953, allocations: 11.94 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2954, allocations: 129.7 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.2955, allocations: 37.31 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.2955, allocations: 13.7 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2955, allocations: 0 / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2956, allocations: 42.5 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.2956, allocations: 0 / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.2957, allocations: 45.58 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2957, allocations: 77.11 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/0.2958, allocations: 101.8 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2958, allocations: 25.7 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.2959, allocations: 80.14 kB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.2959, allocations: 3.953 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.2959, allocations: 14.09 kB / 1.354 GB, free: 6.621 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.296, allocations: 314.8 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.296, allocations: 4 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.2961, allocations: 17.7 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.2961, allocations: 17.66 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2961, allocations: 0 / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.319e-05/0.2962, allocations: 41.77 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2962, allocations: 11.94 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2962, allocations: 0 / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2962, allocations: 0 / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.2963, allocations: 11.92 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2963, allocations: 4 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.2963, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.2963, allocations: 4 kB / 1.355 GB, free: 6.176 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 7.106e-05/0.2964, allocations: 113.7 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2964, allocations: 11.98 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2965, allocations: 52.62 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2965, allocations: 3.938 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2965, allocations: 0 / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2965, allocations: 3.938 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.844e-05/0.2966, allocations: 132.6 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2966, allocations: 0 / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.2966, allocations: 4 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.2966, allocations: 8 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2966, allocations: 0 / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2966, allocations: 0 / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2966, allocations: 4 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.2967, allocations: 69.92 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2967, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2967, allocations: 7.938 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.2968, allocations: 4.031 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.2968, allocations: 3.984 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2968, allocations: 4 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.2968, allocations: 79.28 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001842/0.297, allocations: 0 / 1.355 GB, free: 5.602 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.0003658/0.2974, allocations: 0.6055 MB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/0.2974, allocations: 8 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2974, allocations: 0 / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.2974, allocations: 4 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.2976, allocations: 4.281 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.2979, allocations: 119.5 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2981, allocations: 0.6768 MB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.2981, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.2982, allocations: 7.438 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.2982, allocations: 0 / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.325, allocations: 1.031 MB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.904/10.23, allocations: 17.98 kB / 1.358 GB, free: 3.16 MB / 1.045 GB " [Timeout remaining time 290] (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.24486570409499]