Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.338/3.338, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 70.36 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3511, allocations: 173.9 MB / 1.304 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001696/0.3528, allocations: 0.5856 MB / 1.305 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3542, allocations: 1.116 MB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.3542, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.3542, allocations: 4 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.3545, allocations: 7.938 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.3545, allocations: 0 / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.3545, allocations: 12 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.3545, allocations: 3.984 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.3546, allocations: 7.812 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.3546, allocations: 4 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-06/0.3546, allocations: 0 / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3547, allocations: 23.92 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.3547, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.3547, allocations: 3.938 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.116e-05/0.3548, allocations: 24.19 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3548, allocations: 0 / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3548, allocations: 0 / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3548, allocations: 11.88 kB / 1.306 GB, free: 15.63 MB / 1.014 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.0003072/0.3551, allocations: 315.5 kB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3552, allocations: 8.922 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.3552, allocations: 38.75 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.3552, allocations: 0.9375 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3553, allocations: 160.4 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3553, allocations: 384 / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3553, allocations: 384 / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.3554, allocations: 41.81 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3555, allocations: 8 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.3555, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3555, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.3555, allocations: 11.92 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3557, allocations: 149.7 kB / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3558, allocations: 30.61 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.3558, allocations: 12.86 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.356, allocations: 89.19 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.356, allocations: 34.5 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.356, allocations: 0 / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.004315/0.3603, allocations: 0.5676 MB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3604, allocations: 55.41 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.621e-05/0.3604, allocations: 93.8 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3604, allocations: 25.7 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.3605, allocations: 84.14 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3605, allocations: 19.78 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.3606, allocations: 25.7 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3607, allocations: 310.8 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.3613, allocations: 83.95 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.3619, allocations: 106.5 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3631, allocations: 182.5 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3631, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001232/0.3643, allocations: 225.4 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3643, allocations: 8 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3643, allocations: 0 / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3643, allocations: 0 / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.3647, allocations: 52 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3647, allocations: 0 / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.3651, allocations: 43.97 kB / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3651, allocations: 0 / 1.308 GB, free: 12.63 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 9.11e-05/0.3652, allocations: 113.8 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3652, allocations: 3.938 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3665, allocations: 237.2 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3665, allocations: 8 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.3665, allocations: 7.984 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3665, allocations: 0 / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.368, allocations: 454.4 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.368, allocations: 4 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3684, allocations: 51.91 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3684, allocations: 4 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3684, allocations: 4 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3684, allocations: 0 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3684, allocations: 0 / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3697, allocations: 307.4 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.3697, allocations: 81.06 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3698, allocations: 0 / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3701, allocations: 43.97 kB / 1.31 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.3702, allocations: 8 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3702, allocations: 7.938 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.3702, allocations: 75.28 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3702, allocations: 0 / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002464/0.3704, allocations: 8 kB / 1.31 GB, free: 11.12 MB / 1.014 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 (5): * Single equations (assignments): 5 * 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.001624/0.3721, allocations: 0.8412 MB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.3735, allocations: 179.9 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3735, allocations: 4 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.374, allocations: 84.08 kB / 1.311 GB, free: 9.992 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3742, allocations: 11.94 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3755, allocations: 250.7 kB / 1.311 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3758, allocations: 0.6729 MB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.376, allocations: 31.97 kB / 1.312 GB, free: 8.965 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.3761, allocations: 19.44 kB / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3761, allocations: 0 / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.3999, allocations: 1.654 MB / 1.313 GB, free: 7.438 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.344, allocations: 14.48 kB / 1.313 GB, free: 7.426 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: 15.311977250967175]