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.0009046/0.0009046, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001967, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000717/0.000717, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009263/0.001643, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.163, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.411/2.411, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2407/2.651, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.232e-06/1.232e-06, allocations: 0 / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.6e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001082/0.001098, allocations: 0.6559 MB / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002111, allocations: 1.163 MB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.002127, allocations: 0 / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-06/0.00213, allocations: 7.938 kB / 0.8202 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.304e-05/0.002223, allocations: 23.84 kB / 0.8202 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.955e-06/0.002226, allocations: 0 / 0.8202 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.328e-05/0.00226, allocations: 8 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.002293, allocations: 0 / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.002319, allocations: 3.938 kB / 0.8202 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.002344, allocations: 4 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.002352, allocations: 0 / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.002441, allocations: 15.92 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.781e-06/0.002447, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.386e-06/0.002456, allocations: 3.938 kB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.117e-05/0.002527, allocations: 19.98 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.002539, allocations: 0 / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00254, allocations: 0 / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.002556, allocations: 0 / 0.8202 GB, free: 0.9375 MB / 0.7917 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.0001938/0.002749, allocations: 228.6 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.002776, allocations: 8.922 kB / 0.8205 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.003008, allocations: 94.03 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.013e-05/0.003058, allocations: 101.8 kB / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.003066, allocations: 384 / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.003082, allocations: 4.375 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.674e-05/0.003148, allocations: 46.23 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003156, allocations: 4.125 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.003161, allocations: 384 / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.003168, allocations: 7.938 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.003189, allocations: 4 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.957e-05/0.003259, allocations: 57.05 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.003366, allocations: 30.59 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.003378, allocations: 12.86 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.003393, allocations: 0 / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.003414, allocations: 42.62 kB / 0.8208 GB, free: 208 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.003415, allocations: 4 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.0007229/0.004138, allocations: 242.1 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.004164, allocations: 55.34 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.468e-05/0.004188, allocations: 93.8 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.0042, allocations: 25.7 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.004219, allocations: 80.14 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.004248, allocations: 19.86 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.004282, allocations: 17.7 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.004348, allocations: 318.8 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.004374, allocations: 4 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.004412, allocations: 30.56 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.004478, allocations: 42.5 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.004479, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.903e-05/0.004568, allocations: 53.69 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.004578, allocations: 4 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004582, allocations: 0 / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.004591, allocations: 4 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.004718, allocations: 31.97 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.004721, allocations: 0 / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.004798, allocations: 35.95 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.004805, allocations: 0 / 0.8219 GB, free: 15.08 MB / 0.8073 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 5.242e-05/0.004858, allocations: 109.8 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.00487, allocations: 3.938 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.0049, allocations: 11.66 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.004902, allocations: 4 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004903, allocations: 0 / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.004907, allocations: 7.938 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.005112, allocations: 198.8 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005114, allocations: 0 / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.005223, allocations: 31.98 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-06/0.005226, allocations: 3.938 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.005229, allocations: 4.25 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.005238, allocations: 7.922 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.00524, allocations: 4 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00524, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.005343, allocations: 147.5 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.005355, allocations: 0 / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.005456, allocations: 23.98 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-06/0.005465, allocations: 7.875 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.005471, allocations: 4 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.549e-06/0.005475, allocations: 4.859 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005475, allocations: 0 / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001246/0.0056, allocations: 12 kB / 0.8224 GB, free: 14.46 MB / 0.8073 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 6.52e-05/0.005665, allocations: 84.34 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.005757, allocations: 28.84 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.00576, allocations: 0 / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.005793, allocations: 24.98 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.373e-05/0.005887, allocations: 11.98 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.00612, allocations: 128.6 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.006146, allocations: 51.36 kB / 0.8227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.006258, allocations: 32 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.00633, allocations: 55.36 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.006331, allocations: 4 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.001831/0.008162, allocations: 0.877 MB / 0.8237 GB, free: 13.12 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.ref.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.150641427375376]