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.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: "" <> 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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001429/0.001429, allocations: 195 kB / 16.14 MB, free: 6.648 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.119/2.119, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5566, allocations: 140.4 MB / 0.949 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002065/0.5587, allocations: 1.526 MB / 0.9505 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.5594, allocations: 0.5614 MB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.5594, allocations: 0 / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.5594, allocations: 3.938 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.5595, allocations: 9.078 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.5597, allocations: 36.56 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.5597, allocations: 26.2 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.5598, allocations: 7.656 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.5599, allocations: 18.27 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.5599, allocations: 11.44 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.5599, allocations: 1.781 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.044e-05/0.56, allocations: 52.5 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.56, allocations: 13.36 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.5601, allocations: 10.75 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.5602, allocations: 61.83 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5602, allocations: 0 / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5602, allocations: 0 / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.165e-06/0.5602, allocations: 1.125 kB / 0.9513 GB, free: 7.355 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.0002711/0.5605, allocations: 354.6 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.5605, allocations: 10.34 kB / 0.9517 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.144e-05/0.5605, allocations: 30.75 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.5606, allocations: 7.625 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.707e-05/0.5606, allocations: 169.5 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.5606, allocations: 2.031 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.5606, allocations: 5.438 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.5607, allocations: 45.61 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5608, allocations: 3.938 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.5608, allocations: 5.844 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.5608, allocations: 3.938 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.5609, allocations: 15.23 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.5611, allocations: 259.7 kB / 0.9522 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.5611, allocations: 27.61 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.5612, allocations: 19.34 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.5618, allocations: 475.7 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.5619, allocations: 39.86 kB / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5619, allocations: 0 / 0.9527 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.5621, allocations: 58.88 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.395e-05/0.5621, allocations: 52.62 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.5621, allocations: 111.7 kB / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.5621, allocations: 25.7 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.5622, allocations: 94.28 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.5622, allocations: 1.031 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.5622, allocations: 16.03 kB / 0.9531 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.126e-05/0.5623, allocations: 315.8 kB / 0.9534 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.5623, allocations: 13.58 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.5623, allocations: 14.56 kB / 0.9534 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.5624, allocations: 24.69 kB / 0.9534 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5624, allocations: 0 / 0.9534 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.943e-05/0.5625, allocations: 58.27 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.5625, allocations: 5.938 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.5625, allocations: 0 / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.5626, allocations: 1.812 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.5626, allocations: 7.625 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.5626, allocations: 0 / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.5627, allocations: 10.48 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.5627, allocations: 0 / 0.9535 GB, free: 5.012 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.759e-05/0.5627, allocations: 120.2 kB / 0.9536 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.5627, allocations: 1.094 kB / 0.9536 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.5629, allocations: 62.48 kB / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5629, allocations: 0 / 0.9537 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.5629, allocations: 5.312 kB / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.5629, allocations: 0 / 0.9537 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.563, allocations: 168.5 kB / 0.9538 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.563, allocations: 0 / 0.9538 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.5631, allocations: 12.38 kB / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.5631, allocations: 0 / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.5631, allocations: 0 / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5631, allocations: 1.406 kB / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5631, allocations: 0 / 0.9539 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.5632, allocations: 165.2 kB / 0.954 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.5632, allocations: 82.47 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5632, allocations: 1.406 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.5633, allocations: 1.094 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.5633, allocations: 5.109 kB / 0.9541 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5633, allocations: 1.031 kB / 0.9541 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.472e-05/0.5634, allocations: 90.14 kB / 0.9542 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5634, allocations: 4.031 kB / 0.9542 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.5636, allocations: 16.61 kB / 0.9542 GB, free: 4.262 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.0002851/0.5639, allocations: 0.6987 MB / 0.9549 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.564, allocations: 26.36 kB / 0.9549 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.564, allocations: 0 / 0.9549 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.5641, allocations: 16.77 kB / 0.9549 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.5643, allocations: 5.375 kB / 0.9549 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.5646, allocations: 171.2 kB / 0.9551 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.5647, allocations: 0.6859 MB / 0.9558 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.5647, allocations: 2.438 kB / 0.9558 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.5647, allocations: 8.938 kB / 0.9558 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5648, allocations: 0 / 0.9558 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009748/0.5745, allocations: 1.43 MB / 0.9572 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.5747, allocations: 205.1 kB / 0.9574 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.841, allocations: 3.625 kB / 0.9574 GB, free: 1.652 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