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.001015/0.001015, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008035/0.008035, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.623/2.623, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.824, allocations: 142.4 MB / 0.9551 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006913/0.8247, allocations: 320.2 kB / 0.9554 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002708/0.825, allocations: 39.69 kB / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.8251, allocations: 0 / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.8251, allocations: 11.92 kB / 0.9554 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.8252, allocations: 1.438 kB / 0.9554 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.8253, allocations: 6.375 kB / 0.9554 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.8254, allocations: 7.891 kB / 0.9554 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.8254, allocations: 4.891 kB / 0.9554 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.8255, allocations: 5.406 kB / 0.9554 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.8255, allocations: 4.875 kB / 0.9554 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.8255, allocations: 0.9375 kB / 0.9554 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.8256, allocations: 16.2 kB / 0.9555 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.8257, allocations: 2.062 kB / 0.9555 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.8257, allocations: 36.2 kB / 0.9555 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.8258, allocations: 24.53 kB / 0.9555 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8258, allocations: 3.938 kB / 0.9555 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8258, allocations: 0 / 0.9555 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8258, allocations: 1.312 kB / 0.9555 GB, free: 7.273 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.0002661/0.8261, allocations: 354.7 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8262, allocations: 8.969 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.8262, allocations: 2.5 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.823e-05/0.8263, allocations: 166.3 kB / 0.956 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.8263, allocations: 5.719 kB / 0.956 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.8263, allocations: 1.875 kB / 0.956 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8265, allocations: 53.91 kB / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8265, allocations: 1.312 kB / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8265, allocations: 3.938 kB / 0.9561 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.8265, allocations: 4.875 kB / 0.9561 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.8266, allocations: 28.52 kB / 0.9561 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.8269, allocations: 266.8 kB / 0.9564 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.827, allocations: 21.05 kB / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.827, allocations: 6.297 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.827, allocations: 1.281 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.827, allocations: 30.56 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.827, allocations: 1.125 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001853/0.8272, allocations: 72.98 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.8273, allocations: 82.3 kB / 0.9566 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.8273, allocations: 114.2 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.8273, allocations: 25.7 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.8274, allocations: 106.8 kB / 0.9568 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/0.8274, allocations: 9.344 kB / 0.9568 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.8274, allocations: 16.56 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.8275, allocations: 320.2 kB / 0.9571 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.8275, allocations: 6.906 kB / 0.9572 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.342e-05/0.8276, allocations: 69.27 kB / 0.9572 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.8276, allocations: 128.7 kB / 0.9573 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8277, allocations: 5.094 kB / 0.9573 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001535/0.8278, allocations: 119 kB / 0.9575 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.8278, allocations: 39.91 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8279, allocations: 2.344 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.8279, allocations: 2.906 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.828, allocations: 10.41 kB / 0.9575 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.828, allocations: 10.92 kB / 0.9575 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.8281, allocations: 7.5 kB / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.8281, allocations: 5.938 kB / 0.9575 GB, free: 5.109 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.989e-05/0.8282, allocations: 148.1 kB / 0.9577 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.8282, allocations: 2.062 kB / 0.9577 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.8282, allocations: 9.781 kB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8282, allocations: 0 / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.8282, allocations: 0 / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8282, allocations: 1.188 kB / 0.9577 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.8284, allocations: 161.2 kB / 0.9578 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8284, allocations: 5.172 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-06/0.8284, allocations: 0 / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8284, allocations: 0 / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.8284, allocations: 1.938 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8284, allocations: 0 / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8284, allocations: 4.953 kB / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.8285, allocations: 168.8 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.8286, allocations: 82.27 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.8286, allocations: 5.266 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.8286, allocations: 1.75 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.8287, allocations: 0 / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.8287, allocations: 2.156 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.8287, allocations: 94.95 kB / 0.9582 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8287, allocations: 0 / 0.9582 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.829, allocations: 13.25 kB / 0.9582 GB, free: 4.363 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.0001655/0.8291, allocations: 103.4 kB / 0.9583 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.8293, allocations: 87.7 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8293, allocations: 0 / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.8293, allocations: 56.66 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.8295, allocations: 17.39 kB / 0.9585 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.8298, allocations: 100.8 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.8299, allocations: 0.6785 MB / 0.9592 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.115e-05/0.83, allocations: 10.92 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-06/0.83, allocations: 8.625 kB / 0.9592 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.83, allocations: 8.938 kB / 0.9592 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.002983/0.833, allocations: 498.8 kB / 0.9597 GB, free: 3.047 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