Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 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.00121/0.001211, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 71.09 kB / 0.8992 GB, free: 36.86 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2449, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00247/0.2474, allocations: 1.462 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.2483, allocations: 0.5687 MB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.2483, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.2484, allocations: 3.938 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.2484, allocations: 11.86 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2487, allocations: 47.83 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.2487, allocations: 27.91 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.2488, allocations: 8 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.2489, allocations: 15.92 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.249, allocations: 11.94 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.249, allocations: 4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2491, allocations: 59.89 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.2491, allocations: 7.984 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2491, allocations: 15.92 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2493, allocations: 59.86 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2493, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2493, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2493, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 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.000354/0.2496, allocations: 351.7 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2497, allocations: 12.61 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.2497, allocations: 30.75 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2497, allocations: 12.78 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.2498, allocations: 164.3 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2499, allocations: 4.375 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.2499, allocations: 384 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.25, allocations: 45.81 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.25, allocations: 0 / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.25, allocations: 4 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.25, allocations: 3.984 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.2501, allocations: 31.86 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.2504, allocations: 252.9 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.2505, allocations: 30.56 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.2505, allocations: 16.92 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/0.2512, allocations: 477.4 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2513, allocations: 34.56 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2513, allocations: 3.938 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.00021/0.2515, allocations: 69.58 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.2515, allocations: 51.41 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.2516, allocations: 113.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.2516, allocations: 25.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.2517, allocations: 88.12 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2517, allocations: 7.891 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.2517, allocations: 13.72 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.2518, allocations: 322.9 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.2519, allocations: 11.98 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.2519, allocations: 8 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.252, allocations: 28.78 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.252, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.2521, allocations: 53.69 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2521, allocations: 13.02 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2521, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.2521, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.2522, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.2522, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.2523, allocations: 4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.2523, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 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 6.187e-05/0.2523, allocations: 121.8 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.2524, allocations: 7.844 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.2525, allocations: 69.14 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2525, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2525, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2525, allocations: 0 / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.2527, allocations: 161.6 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2527, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.2527, allocations: 7.984 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2527, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.2527, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2527, allocations: 4.031 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2528, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2529, allocations: 155.4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2529, allocations: 81.02 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.253, allocations: 11.94 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.253, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.253, allocations: 32 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.2531, allocations: 11.98 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.2531, allocations: 83.28 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2531, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000238/0.2533, allocations: 12 kB / 1.058 GB, free: 2.562 MB / 0.8106 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.0003975/0.2538, allocations: 0.7007 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2539, allocations: 27.92 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2539, allocations: 0 / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.2539, allocations: 15.98 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2541, allocations: 0 / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2545, allocations: 164.3 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2547, allocations: 0.6768 MB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.2547, allocations: 7.938 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.2548, allocations: 11.42 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2548, allocations: 0 / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6343/0.8891, allocations: 1.584 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.53, allocations: 8.516 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches