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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00112/0.00112, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7117, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001891/0.7136, allocations: 0.6579 MB / 0.9502 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.7139, allocations: 38.34 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.7139, allocations: 1.25 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.7139, allocations: 0 / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.714, allocations: 1.5 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.7142, allocations: 10.67 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.7142, allocations: 2.656 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.7142, allocations: 1.406 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.7143, allocations: 9.219 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.7143, allocations: 1.469 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.7143, allocations: 5.25 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.7144, allocations: 24.09 kB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.7144, allocations: 6.734 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.7145, allocations: 5.312 kB / 0.9503 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.63e-05/0.7145, allocations: 14.86 kB / 0.9503 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7145, allocations: 0 / 0.9503 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7146, allocations: 1.375 kB / 0.9503 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.7146, allocations: 0 / 0.9503 GB, free: 8.512 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.0002452/0.7148, allocations: 353.4 kB / 0.9507 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7149, allocations: 9.625 kB / 0.9507 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.7149, allocations: 4.938 kB / 0.9507 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.761e-05/0.7149, allocations: 167.7 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.715, allocations: 1.75 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.715, allocations: 1.75 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.7151, allocations: 53.5 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7151, allocations: 1.562 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.7151, allocations: 3.938 kB / 0.9509 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.7152, allocations: 17.41 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.7152, allocations: 23.11 kB / 0.951 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.7155, allocations: 262.7 kB / 0.9512 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.7155, allocations: 29.25 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.7156, allocations: 7.609 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.7156, allocations: 3.984 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.7156, allocations: 35.88 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7156, allocations: 3.938 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.7158, allocations: 69.02 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7158, allocations: 82.48 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.7159, allocations: 114.2 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.716, allocations: 27.08 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.716, allocations: 98.61 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.716, allocations: 13.2 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.7161, allocations: 20.59 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.7161, allocations: 320.3 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.7161, allocations: 14.86 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.7162, allocations: 61.8 kB / 0.9521 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.7163, allocations: 128.1 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7163, allocations: 1.375 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000139/0.7164, allocations: 118.9 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.7165, allocations: 32.58 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7165, allocations: 1.375 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7165, allocations: 2.75 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.7166, allocations: 18.92 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7166, allocations: 1.375 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.7166, allocations: 9.406 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.7167, allocations: 5.5 kB / 0.9524 GB, free: 6.348 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 5.869e-05/0.7167, allocations: 147.9 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.7167, allocations: 6.547 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.7168, allocations: 4.75 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7168, allocations: 1 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7168, allocations: 4 kB / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.7168, allocations: 0 / 0.9525 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.7169, allocations: 159 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7169, allocations: 0 / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.7169, allocations: 0 / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7169, allocations: 1.438 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.7169, allocations: 4 kB / 0.9527 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.7169, allocations: 8.938 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7169, allocations: 0 / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.717, allocations: 169.4 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.717, allocations: 78.17 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.7171, allocations: 1.281 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.7171, allocations: 1 kB / 0.9529 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.7172, allocations: 5.156 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7172, allocations: 2.188 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.7172, allocations: 91.16 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7172, allocations: 3.938 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002494/0.7175, allocations: 12.72 kB / 0.953 GB, free: 5.602 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.0001605/0.7176, allocations: 111.5 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.7177, allocations: 92.52 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7178, allocations: 0 / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.7178, allocations: 59.16 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.718, allocations: 4.5 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.7182, allocations: 130.8 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.7183, allocations: 0.6786 MB / 0.9541 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.7183, allocations: 9.938 kB / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.7183, allocations: 256 / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.001966/0.7203, allocations: 0.6683 MB / 0.9547 GB, free: 4.184 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/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