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.001346/0.001346, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001475/0.001475, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.828 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.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.00203/0.00203, allocations: 62.59 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.319, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001759/0.3208, allocations: 0.5945 MB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.321, allocations: 39.81 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.321, allocations: 4 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.321, allocations: 0 / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.899e-05/0.3211, allocations: 0 / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3213, allocations: 11.98 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.3213, allocations: 4 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.3214, allocations: 3.938 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.3214, allocations: 4 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.3214, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3214, allocations: 4 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.3215, allocations: 23.97 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.3215, allocations: 7.984 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3216, allocations: 3.938 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.3216, allocations: 32.08 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3217, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3217, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3217, allocations: 0 / 1.327 GB, free: 0.7617 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.0003171/0.322, allocations: 272.5 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.322, allocations: 12.03 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.322, allocations: 30.75 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.3221, allocations: 8.891 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.3222, allocations: 114.5 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3222, allocations: 384 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.3222, allocations: 384 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3223, allocations: 91.94 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3223, allocations: 3.938 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3223, allocations: 4 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.3224, allocations: 7.938 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.3224, allocations: 49.69 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.3228, allocations: 239.9 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.3228, allocations: 44.28 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.3229, allocations: 34.62 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-06/0.3229, allocations: 0 / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3229, allocations: 34.5 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 2.735e-06/0.3229, allocations: 3.984 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001938/0.3231, allocations: 126.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3231, allocations: 77.11 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.3232, allocations: 117.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3233, allocations: 25.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.3233, allocations: 107.9 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.3233, allocations: 4.125 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3234, allocations: 25.67 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3235, allocations: 322.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.3235, allocations: 33.7 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.224e-05/0.3236, allocations: 96.86 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3238, allocations: 130.2 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3238, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001727/0.3239, allocations: 156.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.324, allocations: 29.7 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.324, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.324, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3241, allocations: 20.19 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3241, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.3241, allocations: 11.89 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3241, allocations: 15.92 kB / 1.329 GB, free: 14.21 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 9.399e-05/0.3242, allocations: 140.1 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3243, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.3243, allocations: 3.469 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3243, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3243, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3243, allocations: 3.984 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3244, allocations: 128.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3244, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3244, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3244, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3244, allocations: 3.938 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3244, allocations: 7.984 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3244, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.3246, allocations: 186.9 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.3246, allocations: 11.94 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3246, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.3247, allocations: 7.969 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.3247, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3247, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.3248, allocations: 95.2 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002447/0.325, allocations: 8 kB / 1.329 GB, free: 13.51 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.0004784/0.3255, allocations: 0.7275 MB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3256, allocations: 143.2 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3256, allocations: 0 / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/0.3257, allocations: 81.11 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.3259, allocations: 7.578 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3263, allocations: 178.7 kB / 1.33 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.3264, allocations: 63.28 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.357e-05/0.3265, allocations: 11.98 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.3265, allocations: 19.56 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/0.3265, allocations: 3.938 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.3542, allocations: 1.973 MB / 1.332 GB, free: 10.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.53, allocations: 11.84 kB / 1.332 GB, free: 10.3 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.082465223997133]