Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007858/0.0007858, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008029/0.0008029, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9183/0.9183, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.11e-05, allocations: 2.281 kB / 0.981 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001994/0.002015, allocations: 1.483 MB / 0.9824 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00037/0.002385, allocations: 147.5 kB / 0.9826 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.002422, allocations: 0 / 0.9826 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.549e-05/0.002478, allocations: 3.938 kB / 0.9826 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.002556, allocations: 11.88 kB / 0.9826 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.002795, allocations: 35.84 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002905, allocations: 43.84 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.003044, allocations: 11.98 kB / 0.9827 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.003101, allocations: 23.97 kB / 0.9827 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.003143, allocations: 19.92 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003161, allocations: 4 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.003239, allocations: 23.98 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.003262, allocations: 15.97 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.003286, allocations: 11.94 kB / 0.9828 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003429, allocations: 67.84 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.003431, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.754e-06/0.003433, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003438, allocations: 0 / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003695/0.003807, allocations: 298 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.003846, allocations: 8.031 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.003876, allocations: 34.75 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.004468, allocations: 216.5 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.004851, allocations: 109.8 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004863, allocations: 384 / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.004881, allocations: 8.312 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.005234, allocations: 190 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005245, allocations: 8.172 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.005256, allocations: 384 / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.005263, allocations: 8.125 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.005706, allocations: 275.6 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.006319, allocations: 392.6 kB / 0.9843 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.006908, allocations: 290.1 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.007095, allocations: 96.8 kB / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.00712, allocations: 0 / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.007145, allocations: 34.56 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.007146, allocations: 0 / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0007111/0.007857, allocations: 309.3 kB / 0.985 GB, free: 14.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.007903, allocations: 51.41 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.008001, allocations: 125.8 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.008016, allocations: 25.7 kB / 0.9852 GB, free: 14.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.008075, allocations: 96.08 kB / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.008102, allocations: 11.91 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.008147, allocations: 17.7 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.008257, allocations: 318.8 kB / 0.9856 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.008457, allocations: 91.88 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.008634, allocations: 95.88 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.008976, allocations: 180.6 kB / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008979, allocations: 0 / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003919/0.009371, allocations: 217.3 kB / 0.9862 GB, free: 13.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.009387, allocations: 8 kB / 0.9862 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009393, allocations: 0 / 0.9862 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.009407, allocations: 0 / 0.9862 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.00954, allocations: 35.94 kB / 0.9862 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.009545, allocations: 0 / 0.9862 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.009632, allocations: 35.91 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.009644, allocations: 7.984 kB / 0.9863 GB, free: 12.99 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.806e-05/0.009712, allocations: 117.8 kB / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.009728, allocations: 336 / 0.9864 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.009773, allocations: 12 kB / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009777, allocations: 3.984 kB / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.009782, allocations: 0 / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.009786, allocations: 4 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.009952, allocations: 168.7 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.009955, allocations: 4 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01006, allocations: 31.94 kB / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01006, allocations: 0 / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01007, allocations: 11.94 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01007, allocations: 0 / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01007, allocations: 0 / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.01051, allocations: 315.2 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.01053, allocations: 7.938 kB / 0.9869 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01055, allocations: 4 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.01065, allocations: 28.33 kB / 0.9869 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.01069, allocations: 4 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.0107, allocations: 3.984 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.01074, allocations: 99.22 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01074, allocations: 0 / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001671/0.01091, allocations: 15.98 kB / 0.987 GB, free: 12.11 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.0006635/0.01157, allocations: 0.8333 MB / 0.9879 GB, free: 11.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.012, allocations: 199.7 kB / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.012, allocations: 0 / 0.9881 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.01219, allocations: 103.8 kB / 0.9882 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.0124, allocations: 11.88 kB / 0.9882 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.01452, allocations: 1.834 MB / 0.99 GB, free: 9.016 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.01458, allocations: 83.19 kB / 0.99 GB, free: 8.914 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.541e-05/0.01465, allocations: 19.98 kB / 0.9901 GB, free: 8.895 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.01472, allocations: 16.5 kB / 0.9901 GB, free: 8.875 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/0.01472, allocations: 0 / 0.9901 GB, free: 8.875 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.03421, allocations: 2.683 MB / 0.9927 GB, free: 6.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.861, allocations: 12.16 kB / 0.9927 GB, free: 6.332 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.889567653648555]