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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008482/0.0008483, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005086/0.005086, allocations: 170 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 16.53 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2313, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00136/0.2327, allocations: 1.191 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.2335, allocations: 0.5611 MB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.2335, allocations: 4 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.2335, allocations: 3.938 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.2336, allocations: 7.922 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2338, allocations: 35.91 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.2339, allocations: 27.92 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.2339, allocations: 0 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.234, allocations: 19.91 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.2341, allocations: 15.94 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2341, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.2342, allocations: 51.95 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2342, allocations: 4 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.2343, allocations: 41.61 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2344, allocations: 59.86 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2344, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2344, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2344, allocations: 0 / 1.061 GB, free: 2.852 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.0003372/0.2347, allocations: 351.7 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2348, allocations: 15.97 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2348, allocations: 38.62 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.796e-05/0.2348, allocations: 0.9375 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.235, allocations: 172.2 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.235, allocations: 384 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.235, allocations: 4.375 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2351, allocations: 49.8 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.2351, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2351, allocations: 8 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2351, allocations: 0 / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.2352, allocations: 19.98 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.2355, allocations: 256.9 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.2356, allocations: 34.56 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.2356, allocations: 20.91 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.2364, allocations: 0.4896 MB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2364, allocations: 30.56 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2364, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002224/0.2366, allocations: 77.61 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.2367, allocations: 51.41 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.2367, allocations: 105.8 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2368, allocations: 29.7 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.2368, allocations: 92.03 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.2368, allocations: 4.125 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.2368, allocations: 9.719 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2369, allocations: 326.8 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.237, allocations: 11.98 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/0.237, allocations: 12 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.2371, allocations: 32.91 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2371, allocations: 0 / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.2372, allocations: 61.53 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2373, allocations: 7.984 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2373, allocations: 320 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.2373, allocations: 0 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.2373, allocations: 8 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2374, allocations: 4.031 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.2374, allocations: 4 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2374, allocations: 7.984 kB / 1.063 GB, free: 232 kB / 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.383e-05/0.2375, allocations: 121.7 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.2375, allocations: 4 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2377, allocations: 69.14 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2377, allocations: 4.031 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2377, allocations: 0 / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2377, allocations: 3.984 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2378, allocations: 165.6 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2378, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.2379, allocations: 7.984 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2379, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.2379, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2379, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2379, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2381, allocations: 163.4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.2381, allocations: 77.11 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.2381, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.687e-05/0.2382, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.2382, allocations: 3.938 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.2382, allocations: 12.02 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.2383, allocations: 87.22 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2383, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002156/0.2385, allocations: 12 kB / 1.064 GB, free: 15.4 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.0004065/0.2389, allocations: 0.7084 MB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.239, allocations: 23.98 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.239, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.2391, allocations: 19.94 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.2393, allocations: 4.141 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.2397, allocations: 170.2 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2399, allocations: 0.6809 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.2399, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.2399, allocations: 19.42 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2399, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.427/1.667, allocations: 1.384 MB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.667, allocations: 203.6 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/3.267, allocations: 0 / 1.067 GB, free: 12.16 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