Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 102.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 489.7 MB / 0.7761 GB, free: 33.63 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 65.72 kB / 1.127 GB, free: 36.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3908, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003097/0.3939, allocations: 1.444 MB / 1.296 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.3945, allocations: 195.8 kB / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.3946, allocations: 0 / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.3946, allocations: 0 / 1.296 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3946, allocations: 3.938 kB / 1.296 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.395, allocations: 47.89 kB / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.395, allocations: 23.92 kB / 1.297 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3951, allocations: 4 kB / 1.297 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.3952, allocations: 15.92 kB / 1.297 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.3952, allocations: 4 kB / 1.297 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3953, allocations: 4 kB / 1.297 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3954, allocations: 35.95 kB / 1.297 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3954, allocations: 7.922 kB / 1.297 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.3954, allocations: 11.94 kB / 1.297 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3956, allocations: 39.88 kB / 1.297 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3956, allocations: 4 kB / 1.297 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3956, allocations: 0 / 1.297 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3956, allocations: 0 / 1.297 GB, free: 9.867 MB / 0.9981 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.0005485/0.3961, allocations: 351.3 kB / 1.297 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3962, allocations: 8.031 kB / 1.297 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.3962, allocations: 0.9375 kB / 1.297 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3964, allocations: 172.3 kB / 1.297 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3964, allocations: 4.359 kB / 1.297 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.3964, allocations: 384 / 1.297 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3966, allocations: 58.17 kB / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3966, allocations: 192 / 1.297 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3966, allocations: 3.938 kB / 1.297 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3966, allocations: 4 kB / 1.297 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3968, allocations: 35.95 kB / 1.297 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3972, allocations: 245 kB / 1.297 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3974, allocations: 50.42 kB / 1.298 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.3975, allocations: 24.91 kB / 1.298 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.3976, allocations: 77.11 kB / 1.298 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3976, allocations: 34.56 kB / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3976, allocations: 0 / 1.298 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.398, allocations: 85.64 kB / 1.298 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3981, allocations: 51.41 kB / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3982, allocations: 97.84 kB / 1.298 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3982, allocations: 33.64 kB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3983, allocations: 88.09 kB / 1.298 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3983, allocations: 3.953 kB / 1.298 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3983, allocations: 21.84 kB / 1.298 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3985, allocations: 314.8 kB / 1.298 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.3986, allocations: 11.98 kB / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.3987, allocations: 19.98 kB / 1.298 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3989, allocations: 36.81 kB / 1.298 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3989, allocations: 4.062 kB / 1.298 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.3991, allocations: 65.61 kB / 1.298 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3991, allocations: 8 kB / 1.298 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3991, allocations: 0 / 1.298 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3991, allocations: 0 / 1.298 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3992, allocations: 15.92 kB / 1.298 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3992, allocations: 3.938 kB / 1.298 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.3993, allocations: 12.27 kB / 1.299 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.3993, allocations: 8 kB / 1.299 GB, free: 7.711 MB / 0.9981 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 0.0001084/0.3994, allocations: 110.3 kB / 1.299 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.3994, allocations: 0 / 1.299 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3996, allocations: 72.78 kB / 1.299 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3996, allocations: 0 / 1.299 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3996, allocations: 0 / 1.299 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.3997, allocations: 11.95 kB / 1.299 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3998, allocations: 161.6 kB / 1.299 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3998, allocations: 0 / 1.299 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.3999, allocations: 7.984 kB / 1.299 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3999, allocations: 0 / 1.299 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3999, allocations: 3.938 kB / 1.299 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3999, allocations: 4 kB / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3999, allocations: 0 / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4002, allocations: 171.4 kB / 1.299 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.4002, allocations: 77.11 kB / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.4002, allocations: 0 / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.4003, allocations: 7.984 kB / 1.299 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.4004, allocations: 0 / 1.299 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4004, allocations: 4 kB / 1.299 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.4004, allocations: 87.27 kB / 1.299 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4004, allocations: 4.031 kB / 1.299 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002287/0.4006, allocations: 11.94 kB / 1.299 GB, free: 6.895 MB / 0.9981 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.0001864/0.4008, allocations: 103.2 kB / 1.299 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4011, allocations: 39.89 kB / 1.299 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4011, allocations: 0 / 1.299 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.4011, allocations: 20.05 kB / 1.299 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4015, allocations: 10.41 kB / 1.299 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.4018, allocations: 131.1 kB / 1.3 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4022, allocations: 0.6768 MB / 1.3 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4023, allocations: 19.42 kB / 1.3 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4023, allocations: 0 / 1.3 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of Templates: time 0.002397/0.4047, allocations: 0.6679 MB / 1.301 GB, free: 5.164 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches