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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001539/0.001539, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.49/2.49, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8016, allocations: 140.4 MB / 0.9489 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001778/0.8035, allocations: 0.6535 MB / 0.9496 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.8038, allocations: 40.47 kB / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.8038, allocations: 0 / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.8038, allocations: 0 / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.8039, allocations: 1.5 kB / 0.9496 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.8041, allocations: 10.77 kB / 0.9496 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.8041, allocations: 6.531 kB / 0.9496 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.8042, allocations: 5.219 kB / 0.9496 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.8042, allocations: 6.422 kB / 0.9496 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.311e-05/0.8042, allocations: 1.156 kB / 0.9496 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.8043, allocations: 4 kB / 0.9496 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.8044, allocations: 24.25 kB / 0.9497 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.8044, allocations: 3.75 kB / 0.9497 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.8044, allocations: 3.938 kB / 0.9497 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.8045, allocations: 22.48 kB / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8045, allocations: 0 / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8045, allocations: 0 / 0.9497 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.8046, allocations: 0 / 0.9497 GB, free: 8.75 MB / 0.7169 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.0002888/0.8048, allocations: 357.7 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8049, allocations: 9.875 kB / 0.95 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.8049, allocations: 4.938 kB / 0.95 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.805, allocations: 171.7 kB / 0.9502 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.805, allocations: 1.375 kB / 0.9502 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.805, allocations: 1.75 kB / 0.9502 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.8052, allocations: 62.89 kB / 0.9503 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.8052, allocations: 192 / 0.9503 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8052, allocations: 3.938 kB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.8052, allocations: 5.5 kB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.8053, allocations: 23.39 kB / 0.9503 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.8056, allocations: 267.4 kB / 0.9506 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.8056, allocations: 20.58 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.8057, allocations: 11.45 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.8057, allocations: 0 / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.8057, allocations: 32.28 kB / 0.9506 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.8057, allocations: 0 / 0.9506 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.8059, allocations: 69.45 kB / 0.9507 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.8059, allocations: 81.11 kB / 0.9508 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.49e-05/0.806, allocations: 115 kB / 0.9509 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.806, allocations: 29.64 kB / 0.9509 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.806, allocations: 107.1 kB / 0.951 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.806, allocations: 13.48 kB / 0.951 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.8061, allocations: 20.88 kB / 0.951 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.8061, allocations: 320.1 kB / 0.9513 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.8062, allocations: 19.22 kB / 0.9514 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.8062, allocations: 57.02 kB / 0.9514 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.8063, allocations: 132.8 kB / 0.9515 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8063, allocations: 1.312 kB / 0.9515 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001203/0.8064, allocations: 115.6 kB / 0.9517 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.8065, allocations: 31.2 kB / 0.9517 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8065, allocations: 6.734 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8065, allocations: 2.75 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.8066, allocations: 13.56 kB / 0.9517 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8066, allocations: 2.75 kB / 0.9517 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.8067, allocations: 8.031 kB / 0.9517 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.8067, allocations: 9.5 kB / 0.9517 GB, free: 6.578 MB / 0.7169 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 6.091e-05/0.8067, allocations: 149.2 kB / 0.9519 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.8068, allocations: 1.375 kB / 0.9519 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.11e-05/0.8068, allocations: 6.281 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8068, allocations: 0 / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8068, allocations: 7.938 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.8068, allocations: 1.375 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.8069, allocations: 157.7 kB / 0.952 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.8069, allocations: 0 / 0.952 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.8069, allocations: 0 / 0.952 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8069, allocations: 5.359 kB / 0.952 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.8069, allocations: 4 kB / 0.952 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.807, allocations: 1.375 kB / 0.952 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.807, allocations: 0 / 0.952 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.501e-05/0.807, allocations: 169.5 kB / 0.9522 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.8071, allocations: 78.48 kB / 0.9523 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8071, allocations: 3.984 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.8072, allocations: 1.375 kB / 0.9523 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.8072, allocations: 5.406 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.8072, allocations: 2.75 kB / 0.9523 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.8072, allocations: 90.14 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8072, allocations: 3.938 kB / 0.9524 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.8075, allocations: 13.56 kB / 0.9524 GB, free: 5.832 MB / 0.7169 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.0001407/0.8076, allocations: 106.6 kB / 0.9525 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.8077, allocations: 88.42 kB / 0.9526 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8078, allocations: 4 kB / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.8078, allocations: 60.38 kB / 0.9526 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.808, allocations: 8.172 kB / 0.9527 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.8082, allocations: 104.3 kB / 0.9528 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.8083, allocations: 0.6788 MB / 0.9534 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000104/0.8084, allocations: 14.92 kB / 0.9534 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.8084, allocations: 8.406 kB / 0.9534 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8085, allocations: 1.094 kB / 0.9534 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.003037/0.8115, allocations: 0.4942 MB / 0.9539 GB, free: 4.512 MB / 0.7169 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/jenkins/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