Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.00141/0.00141, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001728/0.001728, allocations: 212.5 kB / 23.03 MB, free: 4.926 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.179/3.179, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.00201/0.00201, allocations: 67.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 176.1 MB / 1.327 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00181/0.3272, allocations: 0.5985 MB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002543/0.3274, allocations: 35.83 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.3275, allocations: 4 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.3275, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.3275, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3277, allocations: 15.92 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.3278, allocations: 7.938 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.3278, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.3279, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.3279, allocations: 0 / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3279, allocations: 7.984 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.328, allocations: 23.97 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.328, allocations: 4 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.3281, allocations: 3.938 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3282, allocations: 28.14 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3282, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3282, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3282, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000342/0.3285, allocations: 272.5 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3286, allocations: 12.03 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.595e-05/0.3286, allocations: 192 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.3286, allocations: 38.73 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.3287, allocations: 8.891 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.3287, allocations: 114.4 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3288, allocations: 384 / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3288, allocations: 4.375 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.3289, allocations: 87.95 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3289, allocations: 3.938 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.329, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.329, allocations: 7.984 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.329, allocations: 49.69 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.3294, allocations: 239.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.3294, allocations: 48.28 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.3295, allocations: 30.56 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.3295, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3295, allocations: 34.62 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3295, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002033/0.3297, allocations: 126.7 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3298, allocations: 81.11 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3299, allocations: 117.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3299, allocations: 25.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.33, allocations: 108 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.33, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.33, allocations: 25.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3302, allocations: 322.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.3302, allocations: 33.69 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.3303, allocations: 88.62 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3304, allocations: 138.1 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3304, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001673/0.3306, allocations: 148.8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.3306, allocations: 29.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3306, allocations: 4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3306, allocations: 8.234 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.3307, allocations: 12 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3307, allocations: 7.984 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.3308, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3308, allocations: 7.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000103/0.3309, allocations: 154.1 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3309, allocations: 3.953 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3309, allocations: 11.45 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3309, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3309, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.331, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3311, allocations: 128.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3311, allocations: 3.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3311, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3311, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3311, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3311, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3311, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3313, allocations: 194.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.3313, allocations: 11.95 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3313, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.3313, allocations: 7.969 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.3314, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.3314, allocations: 95.2 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3314, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002392/0.3317, allocations: 8 kB / 1.33 GB, free: 13.35 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005201/0.3322, allocations: 0.7237 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.3324, allocations: 146.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3324, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.3324, allocations: 81.11 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.3326, allocations: 9.562 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.333, allocations: 176.5 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.3331, allocations: 63.34 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.545e-05/0.3332, allocations: 16.23 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.3332, allocations: 11.44 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3332, allocations: 0 / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.3544, allocations: 1.627 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.88, allocations: 9.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.76154168206267]