Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.002012/0.002012, allocations: 103.4 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.002781/0.002781, allocations: 188.4 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.462/1.462, allocations: 225.6 MB / 249.9 MB, free: 13.43 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.129/3.129, allocations: 489.7 MB / 0.7761 GB, free: 33.55 MB / 0.6231 GB [Timeout remaining time 86] 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.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 69.83 kB / 1.127 GB, free: 36.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3927, allocations: 172.1 MB / 1.295 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003107/0.3958, allocations: 1.444 MB / 1.296 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.3966, allocations: 471.2 kB / 1.297 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.3967, allocations: 0 / 1.297 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.3967, allocations: 0 / 1.297 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.3968, allocations: 11.92 kB / 1.297 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.397, allocations: 27.92 kB / 1.297 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.572e-05/0.3971, allocations: 23.98 kB / 1.297 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.3972, allocations: 0 / 1.297 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.3972, allocations: 15.92 kB / 1.297 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.3973, allocations: 15.92 kB / 1.297 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3973, allocations: 4 kB / 1.297 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.3974, allocations: 19.97 kB / 1.297 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3974, allocations: 0 / 1.297 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3974, allocations: 11.94 kB / 1.297 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3975, allocations: 39.81 kB / 1.297 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3975, allocations: 4 kB / 1.297 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3975, allocations: 7.938 kB / 1.297 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3976, allocations: 3.938 kB / 1.297 GB, free: 9.574 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.0005217/0.3981, allocations: 339.4 kB / 1.297 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3981, allocations: 12.03 kB / 1.297 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3981, allocations: 0.9375 kB / 1.297 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3983, allocations: 168.3 kB / 1.297 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3983, allocations: 4.375 kB / 1.297 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.3983, allocations: 4.359 kB / 1.297 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3985, allocations: 54 kB / 1.297 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3985, allocations: 0 / 1.297 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3985, allocations: 3.938 kB / 1.297 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3985, allocations: 0 / 1.297 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3987, allocations: 35.95 kB / 1.297 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3991, allocations: 260.8 kB / 1.298 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3992, allocations: 38.56 kB / 1.298 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.3993, allocations: 16.91 kB / 1.298 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.3995, allocations: 85.09 kB / 1.298 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3995, allocations: 34.56 kB / 1.298 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3995, allocations: 4 kB / 1.298 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003556/0.3999, allocations: 81.58 kB / 1.298 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3999, allocations: 55.41 kB / 1.298 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.4, allocations: 97.86 kB / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4, allocations: 25.7 kB / 1.298 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.4001, allocations: 96.08 kB / 1.298 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.4001, allocations: 3.938 kB / 1.298 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.4001, allocations: 13.84 kB / 1.298 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4003, allocations: 318.8 kB / 1.299 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.4004, allocations: 11.98 kB / 1.299 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.4005, allocations: 19.97 kB / 1.299 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4006, allocations: 40.83 kB / 1.299 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4006, allocations: 4 kB / 1.299 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.4008, allocations: 73.55 kB / 1.299 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4009, allocations: 4 kB / 1.299 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4009, allocations: 0 / 1.299 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4009, allocations: 4 kB / 1.299 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.401, allocations: 7.984 kB / 1.299 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.401, allocations: 0 / 1.299 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.401, allocations: 8.031 kB / 1.299 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.401, allocations: 0 / 1.299 GB, free: 7.445 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.0001015/0.4011, allocations: 122.3 kB / 1.299 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4011, allocations: 3.984 kB / 1.299 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.4014, allocations: 76.72 kB / 1.299 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4014, allocations: 0 / 1.299 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4014, allocations: 3.938 kB / 1.299 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4014, allocations: 4.031 kB / 1.299 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.4016, allocations: 165.5 kB / 1.299 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4016, allocations: 0 / 1.299 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.4016, allocations: 8 kB / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4016, allocations: 0 / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4016, allocations: 0 / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4016, allocations: 0 / 1.299 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4016, allocations: 3.984 kB / 1.299 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.4019, allocations: 167.4 kB / 1.299 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.402, allocations: 85.34 kB / 1.299 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.402, allocations: 0 / 1.299 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.402, allocations: 11.94 kB / 1.299 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4021, allocations: 3.984 kB / 1.299 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4021, allocations: 0 / 1.299 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.4021, allocations: 83.28 kB / 1.299 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4021, allocations: 4.031 kB / 1.299 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000224/0.4024, allocations: 8 kB / 1.299 GB, free: 6.613 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.0001757/0.4025, allocations: 106.3 kB / 1.3 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4028, allocations: 35.97 kB / 1.3 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4028, allocations: 0 / 1.3 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.4029, allocations: 24.05 kB / 1.3 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.4032, allocations: 11.92 kB / 1.3 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.4035, allocations: 135.1 kB / 1.3 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.404, allocations: 0.6768 MB / 1.3 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.404, allocations: 7.438 kB / 1.3 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.404, allocations: 0 / 1.3 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of Templates: time 0.002449/0.4064, allocations: 0.6581 MB / 1.301 GB, free: 4.898 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches