Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008383/0.008383, allocations: 99.53 kB / 15.73 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001907, allocations: 189 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7453 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3187, allocations: 159.9 MB / 1.226 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001915/0.3207, allocations: 0.5966 MB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.3209, allocations: 47.8 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.321, allocations: 0 / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.321, allocations: 0 / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.3211, allocations: 3.938 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3213, allocations: 11.98 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.3214, allocations: 4 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.3214, allocations: 4 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.3215, allocations: 4 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3215, allocations: 4 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3215, allocations: 0 / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.3216, allocations: 15.98 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.3217, allocations: 7.984 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.3217, allocations: 3.938 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3218, allocations: 27.91 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3218, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3218, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3218, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 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.0003549/0.3222, allocations: 361.1 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3222, allocations: 8.031 kB / 1.227 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3223, allocations: 4.938 kB / 1.227 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3224, allocations: 164.3 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3224, allocations: 384 / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3224, allocations: 384 / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3226, allocations: 66.17 kB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3226, allocations: 192 / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3226, allocations: 3.938 kB / 1.227 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.3226, allocations: 8 kB / 1.227 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.686e-05/0.3227, allocations: 27.92 kB / 1.227 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.323, allocations: 272.7 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.3231, allocations: 22.56 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.3231, allocations: 8.922 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.3231, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3231, allocations: 38.56 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3231, allocations: 0 / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.3233, allocations: 71.33 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3234, allocations: 77.11 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.3235, allocations: 121.7 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3235, allocations: 25.7 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.3236, allocations: 99.98 kB / 1.228 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.3236, allocations: 3.953 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3236, allocations: 25.84 kB / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3237, allocations: 318.8 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.3238, allocations: 11.98 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.3238, allocations: 58.86 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.324, allocations: 130.1 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.324, allocations: 0 / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/0.3241, allocations: 123.2 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.3242, allocations: 33.7 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3242, allocations: 4 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3242, allocations: 0 / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.3243, allocations: 15.98 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3243, allocations: 4 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.3244, allocations: 16.14 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3244, allocations: 4 kB / 1.228 GB, free: 6.047 MB / 0.9825 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.0001009/0.3245, allocations: 151.4 kB / 1.229 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.3245, allocations: 4 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.328e-05/0.3245, allocations: 3.531 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3245, allocations: 0 / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3246, allocations: 4 kB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3246, allocations: 4 kB / 1.229 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3247, allocations: 157.6 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3247, allocations: 0 / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-06/0.3247, allocations: 4 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3247, allocations: 3.938 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3248, allocations: 0 / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3248, allocations: 3.938 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3248, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3249, allocations: 173.1 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3249, allocations: 81.11 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.325, allocations: 4.031 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.325, allocations: 0 / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.325, allocations: 7.984 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3251, allocations: 0 / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.3251, allocations: 87.28 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3251, allocations: 0 / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002634/0.3254, allocations: 11.94 kB / 1.229 GB, free: 5.246 MB / 0.9825 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.0002112/0.3256, allocations: 115.2 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.3258, allocations: 87.33 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3258, allocations: 0 / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.3258, allocations: 55.41 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3261, allocations: 8 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3263, allocations: 108.7 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3267, allocations: 0.6768 MB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.3268, allocations: 20.53 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.3268, allocations: 7.438 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.3268, allocations: 0 / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.002596/0.3294, allocations: 0.5254 MB / 1.231 GB, free: 3.566 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches