Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001519/0.001519, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.508/2.508, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 71.89 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9143/0.9156, allocations: 140.4 MB / 0.9489 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003243/0.9189, allocations: 1.522 MB / 0.9504 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.9199, allocations: 0.5612 MB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.92, allocations: 1.531 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.92, allocations: 0 / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.9201, allocations: 3.938 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.9203, allocations: 40.86 kB / 0.951 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.9204, allocations: 26.78 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.9205, allocations: 14.66 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.594e-05/0.9206, allocations: 6.062 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.9207, allocations: 16.17 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.9207, allocations: 1.344 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.9209, allocations: 53.14 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.9209, allocations: 16.98 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.9209, allocations: 7.094 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.9211, allocations: 61.27 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9211, allocations: 0 / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9211, allocations: 5.375 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.9211, allocations: 0 / 0.9512 GB, free: 7.504 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004865/0.9216, allocations: 355.2 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.9217, allocations: 9.344 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.9217, allocations: 2.312 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.9218, allocations: 170.2 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.9219, allocations: 1.406 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.9219, allocations: 5.656 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.922, allocations: 49.67 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9221, allocations: 1.344 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.9221, allocations: 3.938 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-06/0.9221, allocations: 0 / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.9222, allocations: 27.55 kB / 0.9518 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.9225, allocations: 255.1 kB / 0.952 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.9226, allocations: 32.92 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.9227, allocations: 18.78 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.9234, allocations: 472.1 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.9235, allocations: 35.75 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9235, allocations: 0 / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002575/0.9237, allocations: 67.42 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.9238, allocations: 52.53 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.941e-05/0.9238, allocations: 107.8 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.9239, allocations: 25.7 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.9239, allocations: 89.58 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.9239, allocations: 5.922 kB / 0.9529 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.924, allocations: 18.78 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.924, allocations: 316.2 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.9241, allocations: 6.719 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.9241, allocations: 14.27 kB / 0.9532 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.366e-05/0.9242, allocations: 32.34 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.9242, allocations: 0 / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001052/0.9243, allocations: 58.88 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9243, allocations: 4.781 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9244, allocations: 0 / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9244, allocations: 1.219 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.9245, allocations: 7.891 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9245, allocations: 1.5 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.9245, allocations: 5.375 kB / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.9245, allocations: 1.281 kB / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.822e-05/0.9246, allocations: 119.2 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.9246, allocations: 1.281 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.9248, allocations: 70.33 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9248, allocations: 0 / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9248, allocations: 1.562 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9248, allocations: 0 / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.925, allocations: 163.1 kB / 0.9537 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.925, allocations: 3.938 kB / 0.9537 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.925, allocations: 9.625 kB / 0.9537 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.925, allocations: 0 / 0.9537 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.925, allocations: 3.984 kB / 0.9537 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9251, allocations: 1.438 kB / 0.9537 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9251, allocations: 320 / 0.9537 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9252, allocations: 156.8 kB / 0.9538 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.9252, allocations: 78.3 kB / 0.9539 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.9253, allocations: 9.094 kB / 0.9539 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.9253, allocations: 5.109 kB / 0.9539 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.9254, allocations: 1.438 kB / 0.9539 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.9254, allocations: 1.438 kB / 0.9539 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.9254, allocations: 93.47 kB / 0.954 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9254, allocations: 0 / 0.954 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002327/0.9257, allocations: 12.41 kB / 0.954 GB, free: 4.453 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001782/0.9258, allocations: 112.1 kB / 0.9541 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.926, allocations: 26.42 kB / 0.9542 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.926, allocations: 0 / 0.9542 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.926, allocations: 16.31 kB / 0.9542 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.9263, allocations: 5.125 kB / 0.9542 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.9266, allocations: 137.1 kB / 0.9543 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.9267, allocations: 0.682 MB / 0.955 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.9268, allocations: 2.312 kB / 0.955 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.9268, allocations: 8.375 kB / 0.955 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9268, allocations: 0 / 0.955 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.003094/0.9299, allocations: 0.6439 MB / 0.9556 GB, free: 3.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches