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.001633/0.001633, allocations: 108 kB / 15.6 MB, free: 132 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.001633/0.001634, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.418/2.418, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9159, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003731/0.9197, allocations: 1.449 MB / 0.951 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.9209, allocations: 0.5647 MB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.921, allocations: 0 / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.875e-05/0.9211, allocations: 5.344 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.9212, allocations: 3.938 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.9216, allocations: 48.11 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.9217, allocations: 26.58 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.9219, allocations: 4.375 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.922, allocations: 32.84 kB / 0.9517 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.9221, allocations: 20.27 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.9221, allocations: 2.438 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.9223, allocations: 50.8 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.9223, allocations: 0 / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.9223, allocations: 14.53 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.9225, allocations: 62.23 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9226, allocations: 1.125 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9226, allocations: 0 / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.9226, allocations: 0 / 0.9518 GB, free: 7.453 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.0004597/0.923, allocations: 362.3 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9231, allocations: 8.5 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.9231, allocations: 6.578 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.9232, allocations: 171.2 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9232, allocations: 5.688 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.9233, allocations: 2 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.9234, allocations: 48.67 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9234, allocations: 1.406 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.9235, allocations: 4 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9235, allocations: 0 / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.9236, allocations: 23.92 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.9239, allocations: 251.6 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.924, allocations: 28.2 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.9241, allocations: 22.5 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/0.9248, allocations: 471.9 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.9248, allocations: 31.72 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9248, allocations: 3.938 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002499/0.9251, allocations: 63.81 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9251, allocations: 55.39 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.9252, allocations: 107.9 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.9252, allocations: 26.95 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.9253, allocations: 93.06 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.9253, allocations: 1.75 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.9253, allocations: 15.28 kB / 0.9535 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.9254, allocations: 320.1 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.9254, allocations: 10.31 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.9255, allocations: 9.078 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.9255, allocations: 29.52 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9256, allocations: 0 / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.9257, allocations: 59.58 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9257, allocations: 8.5 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9257, allocations: 0 / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9257, allocations: 1.406 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.9258, allocations: 8.375 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9258, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.9259, allocations: 13.39 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.9259, allocations: 5.375 kB / 0.954 GB, free: 5.137 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 5.675e-05/0.9259, allocations: 111.3 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.926, allocations: 2.938 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.9261, allocations: 68.55 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9262, allocations: 0.9688 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9262, allocations: 0 / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9262, allocations: 1.312 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.9263, allocations: 163.5 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9263, allocations: 0 / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.9264, allocations: 4.219 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9264, allocations: 1.25 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.9264, allocations: 0 / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9264, allocations: 4.031 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9264, allocations: 1.062 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.9265, allocations: 161.9 kB / 0.9545 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.9266, allocations: 78.27 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.9266, allocations: 1.031 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.9266, allocations: 6.234 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.9267, allocations: 5.219 kB / 0.9546 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.9267, allocations: 5.188 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.9267, allocations: 85.81 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9267, allocations: 0 / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002433/0.927, allocations: 15.98 kB / 0.9547 GB, free: 4.406 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.0001939/0.9272, allocations: 115.1 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.9273, allocations: 30.72 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9273, allocations: 4.062 kB / 0.9548 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.9274, allocations: 12.31 kB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.9276, allocations: 5.594 kB / 0.9548 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.928, allocations: 125.8 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.9281, allocations: 0.6828 MB / 0.9556 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.9282, allocations: 9.391 kB / 0.9556 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.9282, allocations: 8.906 kB / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.9282, allocations: 0 / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.003143/0.9313, allocations: 0.6685 MB / 0.9563 GB, free: 3.09 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