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.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.001415/0.001415, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001707/0.001707, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9667/0.9667, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.141/2.141, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.977e-05, allocations: 3.375 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001388/0.001417, allocations: 0.6264 MB / 0.8801 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002565, allocations: 1.163 MB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.002595, allocations: 0 / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.002612, allocations: 3.938 kB / 0.8812 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.002821, allocations: 20.73 kB / 0.8812 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.786e-06/0.002824, allocations: 4.438 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.403e-05/0.002858, allocations: 5.344 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.002896, allocations: 4 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.002916, allocations: 0 / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.214e-05/0.002938, allocations: 0.6875 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.002947, allocations: 0 / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.051e-05/0.003038, allocations: 21.5 kB / 0.8813 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.003048, allocations: 4 kB / 0.8813 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-06/0.003056, allocations: 0 / 0.8813 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.003124, allocations: 11.98 kB / 0.8813 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003126, allocations: 0 / 0.8813 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003126, allocations: 1.938 kB / 0.8813 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.00313, allocations: 0 / 0.8813 GB, free: 4.152 MB / 0.8386 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.0002032/0.003333, allocations: 348.3 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.003366, allocations: 8.031 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.003548, allocations: 15.86 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.446e-05/0.003603, allocations: 124.5 kB / 0.8817 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.003611, allocations: 384 / 0.8817 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.003624, allocations: 4.328 kB / 0.8817 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.051e-05/0.003685, allocations: 34.25 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.003691, allocations: 192 / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.003698, allocations: 384 / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003703, allocations: 12.64 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.003721, allocations: 0 / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.143e-05/0.003803, allocations: 102.6 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.003913, allocations: 39 kB / 0.8819 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.003928, allocations: 15.81 kB / 0.8819 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.003938, allocations: 4 kB / 0.8819 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.003955, allocations: 33.39 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.003956, allocations: 0 / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.00084/0.004796, allocations: 246.1 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.004826, allocations: 63.34 kB / 0.8823 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.776e-05/0.004863, allocations: 142.2 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.004879, allocations: 25.7 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.004906, allocations: 126.9 kB / 0.8826 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.004938, allocations: 19.84 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.004979, allocations: 31.36 kB / 0.8826 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000557/0.005536, allocations: 492.1 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.005575, allocations: 4 kB / 0.8831 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.005622, allocations: 42.97 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.0057, allocations: 43.06 kB / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005701, allocations: 0 / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.005827, allocations: 61.66 kB / 0.8832 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005838, allocations: 4 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.005844, allocations: 4 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.005852, allocations: 3.984 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.005989, allocations: 35.98 kB / 0.8833 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.005992, allocations: 3.938 kB / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.006081, allocations: 19.98 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.00609, allocations: 4.188 kB / 0.8833 GB, free: 1.871 MB / 0.8386 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 6.653e-05/0.006156, allocations: 156.6 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.006173, allocations: 4 kB / 0.8834 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.006204, allocations: 11.59 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.006207, allocations: 8 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006209, allocations: 4 kB / 0.8835 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006213, allocations: 3.938 kB / 0.8835 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.006503, allocations: 286 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.006505, allocations: 0 / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.006631, allocations: 31.97 kB / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006633, allocations: 0 / 0.8838 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.006643, allocations: 4 kB / 0.8838 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.006646, allocations: 7.938 kB / 0.8838 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006647, allocations: 4 kB / 0.8838 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.006793, allocations: 199.8 kB / 0.884 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.006799, allocations: 7.984 kB / 0.884 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006811, allocations: 4 kB / 0.884 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.006914, allocations: 19.94 kB / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.006924, allocations: 3.984 kB / 0.884 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.006932, allocations: 8.422 kB / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.006961, allocations: 119.2 kB / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006961, allocations: 0 / 0.8841 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001547/0.007116, allocations: 8 kB / 0.8841 GB, free: 0.9336 MB / 0.8386 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 8.772e-05/0.007204, allocations: 97.62 kB / 0.8842 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.007322, allocations: 39.67 kB / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007324, allocations: 0 / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.007364, allocations: 19.67 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.007509, allocations: 5.625 kB / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.007785, allocations: 138.4 kB / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.007815, allocations: 51.36 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.007926, allocations: 39.98 kB / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.008006, allocations: 70.2 kB / 0.8846 GB, free: 428 kB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/0.008006, allocations: 0 / 0.8846 GB, free: 428 kB / 0.8386 GB Notification: Performance of Templates: time 0.002098/0.0101, allocations: 0.8889 MB / 0.8855 GB, free: 15.54 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2899623229168355]