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.001522/0.001522, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001532/0.001532, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.968/0.968, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.11/2.11, allocations: 429.5 MB / 0.6736 GB, free: 4.074 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.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.631e-05, allocations: 4.219 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001289/0.001315, allocations: 0.6292 MB / 0.8789 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.002517, allocations: 1.158 MB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.002548, allocations: 1.438 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.002566, allocations: 0.7656 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.002818, allocations: 20.2 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.806e-06/0.002821, allocations: 3.938 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.002875, allocations: 8.578 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.002915, allocations: 0.75 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.002939, allocations: 0 / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.661e-05/0.002966, allocations: 5.094 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.002974, allocations: 0 / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.003073, allocations: 23.91 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.003083, allocations: 0.6562 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.003095, allocations: 0 / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.01e-05/0.003175, allocations: 17.14 kB / 0.8801 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003177, allocations: 0 / 0.8801 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003178, allocations: 4 kB / 0.8801 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003182, allocations: 0.9688 kB / 0.8801 GB, free: 4.754 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.0002421/0.003424, allocations: 336.4 kB / 0.8804 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.003462, allocations: 12.02 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.003691, allocations: 14.3 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.722e-05/0.003758, allocations: 116.6 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.003775, allocations: 1.75 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.003795, allocations: 4.328 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.003887, allocations: 34.25 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.003898, allocations: 4.188 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.003908, allocations: 3.812 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.003916, allocations: 3.938 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.003947, allocations: 11.92 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.004056, allocations: 112.6 kB / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.004203, allocations: 43.08 kB / 0.8807 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.004223, allocations: 11.69 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.004238, allocations: 0 / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.00426, allocations: 41.47 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.004261, allocations: 1.094 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0009599/0.005221, allocations: 256.7 kB / 0.881 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.005254, allocations: 51.41 kB / 0.8811 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.505e-05/0.005289, allocations: 146.2 kB / 0.8812 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.005304, allocations: 25.7 kB / 0.8812 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.005329, allocations: 126.9 kB / 0.8814 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.005364, allocations: 23.83 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.005405, allocations: 27.38 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003408/0.005746, allocations: 0.4884 MB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.005794, allocations: 4 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.005847, allocations: 31.06 kB / 0.8819 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.005945, allocations: 50.98 kB / 0.882 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.005946, allocations: 0 / 0.882 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001353/0.006082, allocations: 69.88 kB / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.006095, allocations: 6.344 kB / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.0061, allocations: 0 / 0.882 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.006114, allocations: 4 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.006261, allocations: 35.91 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006266, allocations: 4 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.006359, allocations: 20.03 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.006368, allocations: 4 kB / 0.8821 GB, free: 2.449 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.848e-05/0.006437, allocations: 160.6 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.006457, allocations: 7.938 kB / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.006492, allocations: 11.59 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.006494, allocations: 0 / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.006498, allocations: 3.938 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006501, allocations: 4 kB / 0.8823 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.006831, allocations: 297.5 kB / 0.8826 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006833, allocations: 4 kB / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.006952, allocations: 31.97 kB / 0.8826 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.006956, allocations: 7.875 kB / 0.8826 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.006966, allocations: 0 / 0.8826 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006967, allocations: 0 / 0.8826 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006968, allocations: 4 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.007125, allocations: 203.9 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.00713, allocations: 4 kB / 0.8828 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.007148, allocations: 7.922 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.007252, allocations: 24 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.007267, allocations: 3.984 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.007275, allocations: 4 kB / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.609e-05/0.007301, allocations: 119.2 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007301, allocations: 0 / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000162/0.007463, allocations: 8 kB / 0.883 GB, free: 1.488 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 0.0001012/0.007564, allocations: 103.2 kB / 0.8831 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.007706, allocations: 27.8 kB / 0.8831 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007708, allocations: 4.188 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.007754, allocations: 35.61 kB / 0.8831 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.007908, allocations: 4 kB / 0.8831 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.008218, allocations: 130.3 kB / 0.8833 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.201e-05/0.00825, allocations: 55.36 kB / 0.8833 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.008362, allocations: 28 kB / 0.8833 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.008419, allocations: 20.48 kB / 0.8834 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/0.00842, allocations: 0 / 0.8834 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of Templates: time 0.002109/0.01053, allocations: 0.8315 MB / 0.8842 GB, free: 216 kB / 0.8386 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.418199077015743]