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.00101/0.00101, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001107/0.001107, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.221/1.221, allocations: 222.9 MB / 239.9 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.117/2.117, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 75.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5879, allocations: 140.4 MB / 0.9492 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002553/0.5905, allocations: 1.518 MB / 0.9507 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.5913, allocations: 0.5546 MB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5913, allocations: 1.375 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.5914, allocations: 3.984 kB / 0.9513 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.5914, allocations: 5.312 kB / 0.9513 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.5917, allocations: 39.09 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.5918, allocations: 30.8 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.5919, allocations: 12.11 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.592, allocations: 9.484 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.592, allocations: 16.05 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.592, allocations: 1.375 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.5921, allocations: 51.47 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.5922, allocations: 15.91 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.5922, allocations: 16.06 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.5923, allocations: 65.8 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5923, allocations: 0 / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5924, allocations: 0 / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.5924, allocations: 0 / 0.9515 GB, free: 7.367 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.0003307/0.5927, allocations: 355.8 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5927, allocations: 10.03 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.5928, allocations: 30.75 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.5928, allocations: 3.469 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.755e-05/0.5929, allocations: 171 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5929, allocations: 384 / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.5929, allocations: 5.562 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.593, allocations: 49.77 kB / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.593, allocations: 0 / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5931, allocations: 1.5 kB / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5931, allocations: 0 / 0.9521 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.5932, allocations: 19.48 kB / 0.9521 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.5934, allocations: 258.7 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.5935, allocations: 32.92 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.5935, allocations: 14.53 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.5942, allocations: 480.2 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.5942, allocations: 35.88 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.5942, allocations: 0 / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000211/0.5944, allocations: 59.34 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.5945, allocations: 56.48 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.5945, allocations: 112 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.5945, allocations: 29.69 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.5946, allocations: 89.39 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.5946, allocations: 1.25 kB / 0.9533 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.5946, allocations: 12.22 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.5947, allocations: 324 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.5947, allocations: 5.688 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.5947, allocations: 14.45 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/0.5948, allocations: 28.94 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5948, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.5949, allocations: 54.97 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.595, allocations: 5.312 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.595, allocations: 3.938 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.595, allocations: 0 / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.5951, allocations: 4.125 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5951, allocations: 5.5 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.5951, allocations: 9.203 kB / 0.9537 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5951, allocations: 1.125 kB / 0.9537 GB, free: 5.027 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 4.333e-05/0.5952, allocations: 119.1 kB / 0.9538 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.5952, allocations: 2.469 kB / 0.9538 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.5953, allocations: 62.33 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5953, allocations: 0 / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5954, allocations: 32 / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5954, allocations: 7.984 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5955, allocations: 168.6 kB / 0.954 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5955, allocations: 4 kB / 0.954 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.5955, allocations: 8.625 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5955, allocations: 0 / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.5955, allocations: 1.125 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.5955, allocations: 0 / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5956, allocations: 1.375 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5957, allocations: 161 kB / 0.9542 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.5957, allocations: 81.05 kB / 0.9543 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.5957, allocations: 1.375 kB / 0.9543 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.5958, allocations: 6.766 kB / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.5958, allocations: 0 / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.5958, allocations: 1.688 kB / 0.9543 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.824e-05/0.5958, allocations: 89.45 kB / 0.9544 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5959, allocations: 0 / 0.9544 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002224/0.5961, allocations: 16.5 kB / 0.9544 GB, free: 4.281 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.0003206/0.5964, allocations: 0.6989 MB / 0.9551 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.5965, allocations: 23.08 kB / 0.9551 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5965, allocations: 4.094 kB / 0.9551 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.5966, allocations: 20.17 kB / 0.9551 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.5968, allocations: 1.25 kB / 0.9551 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.5972, allocations: 160.7 kB / 0.9553 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.5973, allocations: 0.6827 MB / 0.9559 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.5973, allocations: 6.375 kB / 0.956 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.5973, allocations: 8.781 kB / 0.956 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5973, allocations: 0 / 0.956 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.6076, allocations: 1.485 MB / 0.9574 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.6078, allocations: 202.4 kB / 0.9576 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.21, allocations: 0 / 0.9576 GB, free: 1.656 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