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.006898/0.006898, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001217/0.001217, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.693/2.693, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.86 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3586, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003407/0.3621, allocations: 1.458 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3633, allocations: 0.5671 MB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3634, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.3634, allocations: 3.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.3635, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3639, allocations: 47.83 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.364, allocations: 27.92 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3641, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3642, allocations: 23.86 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.3643, allocations: 11.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3643, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3645, allocations: 59.95 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3645, allocations: 3.984 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3645, allocations: 11.94 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3647, allocations: 59.86 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3647, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3647, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3647, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 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.0005067/0.3652, allocations: 358.8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3653, allocations: 8.031 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3653, allocations: 30.75 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3654, allocations: 12.83 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3655, allocations: 168.6 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3655, allocations: 8.312 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3656, allocations: 8.312 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3657, allocations: 45.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3657, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3658, allocations: 8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3658, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.3659, allocations: 19.98 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.3663, allocations: 252.9 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3664, allocations: 30.52 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.3665, allocations: 24.91 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/0.3674, allocations: 477.4 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3674, allocations: 30.56 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3674, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/0.3677, allocations: 65.59 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3678, allocations: 55.34 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3679, allocations: 109.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.368, allocations: 25.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.368, allocations: 88.12 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.368, allocations: 7.906 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3681, allocations: 13.72 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3682, allocations: 322.9 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.3683, allocations: 11.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.3683, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.614e-05/0.3684, allocations: 28.84 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3684, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.3686, allocations: 53.67 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3686, allocations: 12.03 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3686, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3686, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.3687, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3687, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.3688, allocations: 3.984 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3688, allocations: 4.312 kB / 1.092 GB, free: 13.09 MB / 0.8575 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 8.704e-05/0.3689, allocations: 113.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3689, allocations: 3.906 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3691, allocations: 65.2 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3692, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3692, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3692, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3694, allocations: 161.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3694, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.3694, allocations: 7.938 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3695, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3695, allocations: 3.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3695, allocations: 4.031 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3695, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3697, allocations: 151.5 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3698, allocations: 85.02 kB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3698, allocations: 0 / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.3699, allocations: 0 / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3699, allocations: 12.02 kB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3699, allocations: 0 / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.37, allocations: 87.27 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.37, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000251/0.3703, allocations: 15.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 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.0006807/0.3709, allocations: 0.7123 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.3711, allocations: 23.98 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3711, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.3712, allocations: 19.92 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3715, allocations: 5.344 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.372, allocations: 156.5 kB / 1.093 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3723, allocations: 0.6884 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.3723, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.3724, allocations: 11.44 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3724, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.4027, allocations: 1.594 MB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.711, allocations: 23.91 kB / 1.096 GB, free: 9.023 MB / 0.8575 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