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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 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.001073/0.001073, allocations: 195 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.265/2.265, allocations: 390.3 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5624, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002109/0.5646, allocations: 1.445 MB / 0.9511 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006985/0.5653, allocations: 0.565 MB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.5653, allocations: 1.281 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.5654, allocations: 3.938 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.5654, allocations: 9.234 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.5657, allocations: 42.39 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.5657, allocations: 31.36 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.5658, allocations: 7.656 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.473e-05/0.5659, allocations: 17.42 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.566, allocations: 13 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.566, allocations: 1.219 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.5661, allocations: 55.31 kB / 0.9519 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.5661, allocations: 11.88 kB / 0.9519 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.5661, allocations: 10.92 kB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.5662, allocations: 62.64 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5663, allocations: 4 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5663, allocations: 4 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.5663, allocations: 1.344 kB / 0.9519 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.000285/0.5666, allocations: 354.6 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5666, allocations: 9.906 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.873e-05/0.5666, allocations: 34.69 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.5666, allocations: 3.438 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.09e-05/0.5667, allocations: 167.2 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.5667, allocations: 384 / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.5667, allocations: 1.688 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5668, allocations: 50.56 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.5669, allocations: 0 / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.5669, allocations: 3.984 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5669, allocations: 1.781 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.567, allocations: 18.11 kB / 0.9526 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.5672, allocations: 255.7 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.5673, allocations: 36.56 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.5673, allocations: 14.94 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/0.568, allocations: 476.1 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.568, allocations: 39.97 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.568, allocations: 0 / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.5682, allocations: 67.27 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.5682, allocations: 51.41 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.5683, allocations: 108.3 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.5683, allocations: 25.7 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.5683, allocations: 89.23 kB / 0.9537 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.5684, allocations: 9.641 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.5684, allocations: 12.16 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.5684, allocations: 320 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.5685, allocations: 10.11 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.5685, allocations: 9.125 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.5686, allocations: 25.78 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5686, allocations: 4.062 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.5687, allocations: 62.08 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5687, allocations: 7.688 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5687, allocations: 0 / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5687, allocations: 0 / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.5688, allocations: 4.594 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5688, allocations: 0 / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.5688, allocations: 9.625 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5689, allocations: 1.438 kB / 0.9541 GB, free: 5.113 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 3.964e-05/0.5689, allocations: 124.2 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.5689, allocations: 2.156 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.5691, allocations: 64.83 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5691, allocations: 1.031 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5691, allocations: 0 / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5691, allocations: 0 / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.5692, allocations: 164.1 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5692, allocations: 0 / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.5693, allocations: 12.92 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5693, allocations: 0 / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.5693, allocations: 1.062 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5693, allocations: 320 / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5693, allocations: 0.8438 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.5694, allocations: 158.1 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.5694, allocations: 86.48 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5695, allocations: 5.625 kB / 0.9547 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.5695, allocations: 5.375 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.5695, allocations: 1.125 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.5696, allocations: 5.359 kB / 0.9547 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.5696, allocations: 88.61 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5696, allocations: 0.8438 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002293/0.5698, allocations: 15.97 kB / 0.9548 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 (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.0003056/0.5701, allocations: 0.7036 MB / 0.9555 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.5703, allocations: 26.48 kB / 0.9555 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5703, allocations: 0 / 0.9555 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.5703, allocations: 15.7 kB / 0.9556 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.5705, allocations: 6.312 kB / 0.9556 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.5709, allocations: 147.2 kB / 0.9557 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.613e-05/0.571, allocations: 0.6826 MB / 0.9564 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.571, allocations: 1.344 kB / 0.9564 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.571, allocations: 17.89 kB / 0.9564 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.571, allocations: 0 / 0.9564 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.5928, allocations: 1.587 MB / 0.9579 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.624, allocations: 10.11 kB / 0.9579 GB, free: 1.867 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches