Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001084/0.001084, 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.001154/0.001154, allocations: 170.3 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.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.724/1.724, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.603e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001719/0.001736, allocations: 1.483 MB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.002419, allocations: 0.588 MB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002465, allocations: 4 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.00249, allocations: 3.938 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.002529, allocations: 7.938 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.002783, allocations: 55.75 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.598e-05/0.002869, allocations: 31.86 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.002951, allocations: 8 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.003053, allocations: 23.91 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.003092, allocations: 11.92 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.003105, allocations: 4 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.003202, allocations: 59.94 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.003212, allocations: 4 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.003227, allocations: 4 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.003349, allocations: 79.72 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003351, allocations: 4 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003352, allocations: 0 / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003356, allocations: 0 / 0.9833 GB, free: 208 kB / 0.9323 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.0003371/0.003693, allocations: 278.1 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.003727, allocations: 8.031 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.003754, allocations: 30.75 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.003848, allocations: 20.88 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.00399, allocations: 125.7 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.003999, allocations: 4.375 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.004006, allocations: 384 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.004101, allocations: 54.12 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.004107, allocations: 4.125 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004116, allocations: 4.125 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.00412, allocations: 0 / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.004173, allocations: 19.98 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.004402, allocations: 220.1 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.004462, allocations: 30.56 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.004491, allocations: 24.84 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/0.004817, allocations: 95.81 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.004838, allocations: 34.56 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.004839, allocations: 0 / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.005038, allocations: 61.67 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.005076, allocations: 55.41 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.005148, allocations: 105.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.005161, allocations: 29.7 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.005201, allocations: 84.14 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.005222, allocations: 11.94 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.005249, allocations: 13.72 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.005331, allocations: 315 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.00536, allocations: 19.92 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.005379, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.005428, allocations: 24.84 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00543, allocations: 0 / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.92e-05/0.005519, allocations: 65.58 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.005535, allocations: 7.984 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.00554, allocations: 96 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005553, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.005606, allocations: 4 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.005611, allocations: 0 / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.005628, allocations: 4 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005632, allocations: 3.938 kB / 0.985 GB, free: 14.28 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 (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 5.674e-05/0.005689, allocations: 113.8 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.005702, allocations: 7.922 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.005817, allocations: 61.67 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.005821, allocations: 8.031 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.005826, allocations: 3.938 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.005829, allocations: 0 / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.00595, allocations: 136.6 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005952, allocations: 3.938 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.00597, allocations: 4 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005972, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.005978, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.005982, allocations: 7.984 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005983, allocations: 0 / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.00609, allocations: 155.5 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.006098, allocations: 7.891 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.006109, allocations: 4 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.11e-05/0.00614, allocations: 3.984 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.00617, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.006174, allocations: 4 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.006215, allocations: 87.27 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006215, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001723/0.006387, allocations: 15.94 kB / 0.9856 GB, free: 13.59 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 (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.0003609/0.006748, allocations: 0.7084 MB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.006835, allocations: 19.98 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006837, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.006862, allocations: 15.98 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.007009, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.007844, allocations: 1.261 MB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.007888, allocations: 67.28 kB / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.007906, allocations: 0 / 0.9876 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.007937, allocations: 20.48 kB / 0.9876 GB, free: 11.37 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.007938, allocations: 0 / 0.9876 GB, free: 11.37 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02199, allocations: 2.285 MB / 0.9898 GB, free: 9.215 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.854, allocations: 11.52 kB / 0.9898 GB, free: 9.207 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.816493892110884]