Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_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.001288/0.001288, 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.001294/0.001294, allocations: 197.5 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.406/1.406, 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 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 72.09 kB / 0.9087 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2617, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002441/0.2642, allocations: 1.459 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000844/0.265, allocations: 0.5628 MB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.2651, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.2651, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.2652, allocations: 7.938 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2654, allocations: 47.83 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.2654, allocations: 19.92 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.2655, allocations: 8 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.2656, allocations: 23.91 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.2657, allocations: 15.92 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2657, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2658, allocations: 47.97 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2658, allocations: 15.92 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2658, allocations: 11.94 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.266, allocations: 63.86 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.266, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.266, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.266, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 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.0003998/0.2664, allocations: 351.6 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2664, allocations: 12.03 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.2665, allocations: 30.75 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.2665, allocations: 8.844 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2666, allocations: 180.2 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.2666, allocations: 384 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.2666, allocations: 384 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.2668, allocations: 49.8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2668, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.2668, allocations: 4 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.2668, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.2669, allocations: 23.92 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2672, allocations: 260.8 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.2673, allocations: 30.58 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.2673, allocations: 12.91 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/0.2682, allocations: 481.4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2682, allocations: 30.56 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.776e-06/0.2682, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002092/0.2684, allocations: 65.62 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2685, allocations: 51.41 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.2685, allocations: 114 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2686, allocations: 25.7 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2686, allocations: 92.12 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.2686, allocations: 3.906 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.2687, allocations: 13.72 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2688, allocations: 318.8 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.2689, allocations: 7.984 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.2689, allocations: 16 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.269, allocations: 28.78 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.269, allocations: 0 / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.2691, allocations: 57.67 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2691, allocations: 4 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2691, allocations: 4 kB / 1.068 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.2692, allocations: 3.938 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.2692, allocations: 4.094 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.2692, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.2693, allocations: 3.984 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2693, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 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 7.175e-05/0.2694, allocations: 113.8 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.2694, allocations: 3.906 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.2695, allocations: 69.14 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2696, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2696, allocations: 4.031 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2696, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2697, allocations: 165.6 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2697, allocations: 0 / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.2698, allocations: 7.938 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2698, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2698, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2698, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2698, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.27, allocations: 163.4 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.27, allocations: 81.02 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.2701, allocations: 0 / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2701, allocations: 4 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.2701, allocations: 3.984 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2702, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.2702, allocations: 87.28 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2702, allocations: 32 / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002139/0.2704, allocations: 19.98 kB / 1.069 GB, free: 8.496 MB / 0.8262 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.0005146/0.2709, allocations: 0.6968 MB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2711, allocations: 27.95 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2711, allocations: 0 / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.2711, allocations: 15.98 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2713, allocations: 7.938 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.2717, allocations: 168.1 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.272, allocations: 0.6847 MB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.272, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.2721, allocations: 15.38 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2721, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.265/3.537, allocations: 1.583 MB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/16.1, allocations: 9.547 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches