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.001199/0.001199, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001289/0.001289, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.196/1.196, 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.2-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.34 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001714/0.2348, allocations: 0.5859 MB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002327/0.235, allocations: 43.86 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2351, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.2351, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.2351, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.2353, allocations: 7.938 kB / 0.9517 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.2354, allocations: 11.98 kB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.2355, allocations: 4 kB / 0.9518 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2355, allocations: 11.94 kB / 0.9518 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.2356, allocations: 3.984 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2356, allocations: 0 / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.2357, allocations: 19.98 kB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.2357, allocations: 4 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.2357, allocations: 3.938 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.2358, allocations: 27.91 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2358, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2358, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2358, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 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.0003304/0.2362, allocations: 358 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2362, allocations: 11.97 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2363, allocations: 4.938 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.2364, allocations: 168.3 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2364, allocations: 384 / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2364, allocations: 384 / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2365, allocations: 62.17 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2365, allocations: 192 / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2366, allocations: 7.938 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.2366, allocations: 7.984 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2366, allocations: 27.98 kB / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2369, allocations: 260.8 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.237, allocations: 30.5 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.237, allocations: 4.859 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-06/0.237, allocations: 4.062 kB / 0.9527 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.237, allocations: 34.56 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.237, allocations: 0 / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.2372, allocations: 63.39 kB / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2372, allocations: 85.11 kB / 0.9529 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.2373, allocations: 109.8 kB / 0.953 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2373, allocations: 29.64 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.2374, allocations: 111.7 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.2374, allocations: 0 / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2374, allocations: 25.78 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.2375, allocations: 318.8 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.2376, allocations: 15.98 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.2376, allocations: 63.23 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.2377, allocations: 130.1 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2377, allocations: 0 / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001309/0.2379, allocations: 119.2 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.2379, allocations: 33.7 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2379, allocations: 4 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2379, allocations: 3.938 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.238, allocations: 15.98 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.238, allocations: 4.141 kB / 0.9538 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.2381, allocations: 8.25 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2381, allocations: 8 kB / 0.9539 GB, free: 4.945 MB / 0.7325 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.77e-05/0.2382, allocations: 153.3 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2382, allocations: 11.89 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.145e-05/0.2382, allocations: 3.531 kB / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2382, allocations: 0 / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.2382, allocations: 0 / 0.954 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2383, allocations: 4 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2384, allocations: 161.5 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2384, allocations: 4 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.2384, allocations: 4 kB / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2384, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2384, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2384, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2384, allocations: 0 / 0.9542 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2385, allocations: 165.2 kB / 0.9543 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2386, allocations: 81.11 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2386, allocations: 0 / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.2387, allocations: 4.031 kB / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.2387, allocations: 0 / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2387, allocations: 7.938 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.2387, allocations: 91.27 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2387, allocations: 0 / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002341/0.239, allocations: 11.94 kB / 0.9545 GB, free: 4.148 MB / 0.7325 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.0001598/0.2391, allocations: 111.2 kB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2393, allocations: 87.33 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2393, allocations: 4 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.2393, allocations: 55.41 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2395, allocations: 4 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.2398, allocations: 109 kB / 0.9549 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.24, allocations: 0.6824 MB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.2401, allocations: 20.53 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.2401, allocations: 7.438 kB / 0.9556 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of SimCode: time 3.547e-06/0.2401, allocations: 0 / 0.9556 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of Templates: time 0.002326/0.2425, allocations: 0.5113 MB / 0.9561 GB, free: 2.488 MB / 0.7325 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 -s cvode -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