Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001291/0.001291, allocations: 109 kB / 16.41 MB, free: 6.488 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.001421/0.001421, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9271, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00198/0.9291, allocations: 0.592 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002846/0.9294, allocations: 39.23 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.9295, allocations: 0 / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.9295, allocations: 1.219 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.9295, allocations: 1.438 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.9298, allocations: 15.38 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.9299, allocations: 8.484 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.93, allocations: 1.859 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.93, allocations: 7.094 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.93, allocations: 0 / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.9301, allocations: 1.156 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.9302, allocations: 20.8 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.9302, allocations: 7.141 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.9303, allocations: 9.156 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.9304, allocations: 15.48 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9304, allocations: 8 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9304, allocations: 0.9062 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9304, allocations: 3.938 kB / 1.089 GB, free: 5.102 MB / 0.8575 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.0003607/0.9308, allocations: 358 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9308, allocations: 9.375 kB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.9309, allocations: 6.078 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.931, allocations: 166.4 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.931, allocations: 384 / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.931, allocations: 2.469 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.9311, allocations: 63.39 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9312, allocations: 192 / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.9312, allocations: 4.75 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.9312, allocations: 10.97 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.9313, allocations: 22.86 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.9316, allocations: 261.7 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.9316, allocations: 17.94 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.9317, allocations: 15.58 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.9317, allocations: 0 / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.9317, allocations: 36.14 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.9317, allocations: 1.094 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.9319, allocations: 63.78 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.9319, allocations: 78.27 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.932, allocations: 119.9 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.932, allocations: 26.8 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.9321, allocations: 101.5 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.9321, allocations: 13.92 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.9321, allocations: 26.66 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.9322, allocations: 317.7 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.9322, allocations: 9.875 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.9323, allocations: 68.61 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.9324, allocations: 123.7 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9324, allocations: 1.125 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.9325, allocations: 120 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.9326, allocations: 33.53 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9326, allocations: 2.156 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.9326, allocations: 2.719 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.9327, allocations: 19.81 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.9327, allocations: 3.609 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.9328, allocations: 5.031 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.9328, allocations: 9.406 kB / 1.091 GB, free: 3.004 MB / 0.8575 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 7.423e-05/0.9329, allocations: 146.4 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.9329, allocations: 10.12 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.9329, allocations: 5.875 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9329, allocations: 0.7031 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.933, allocations: 8.688 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.933, allocations: 0 / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.9331, allocations: 158.2 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9331, allocations: 0.6562 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.9331, allocations: 0 / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.9331, allocations: 0.7812 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.9331, allocations: 1.641 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9331, allocations: 4.812 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9331, allocations: 0 / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.9332, allocations: 172.3 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.9333, allocations: 79.53 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.9333, allocations: 1.328 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.9333, allocations: 2.172 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.9334, allocations: 1.422 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.9334, allocations: 1.688 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.9334, allocations: 90.83 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9334, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002454/0.9337, allocations: 14.03 kB / 1.092 GB, free: 2.277 MB / 0.8575 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.0001622/0.9338, allocations: 109.3 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.934, allocations: 88.36 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.934, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.934, allocations: 61.06 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.9342, allocations: 2.125 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.9344, allocations: 135.1 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.9347, allocations: 0.6787 MB / 1.093 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.9347, allocations: 9.375 kB / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9347, allocations: 0 / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.002487/0.9372, allocations: 0.6848 MB / 1.094 GB, free: 17.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches