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.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.000963/0.000963, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.00231, 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.000935/0.000935, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002143, 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09485/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.518/2.518, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2849/2.803, allocations: 145.9 MB / 0.817 GB, free: 4.188 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.749e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002949/0.002976, allocations: 1.546 MB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.003766, allocations: 0.4908 MB / 0.8203 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.0038, allocations: 4 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.003827, allocations: 3.938 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.003868, allocations: 0 / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.004008, allocations: 31.83 kB / 0.8203 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.004084, allocations: 27.88 kB / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.004169, allocations: 0 / 0.8204 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.004271, allocations: 19.98 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.004316, allocations: 11.92 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.00433, allocations: 0 / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.004421, allocations: 23.97 kB / 0.8204 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.004433, allocations: 4 kB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.00445, allocations: 11.94 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.00456, allocations: 19.92 kB / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.978e-05/0.00458, allocations: 0 / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004581, allocations: 0 / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.004602, allocations: 0 / 0.8205 GB, free: 0.6406 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.0004153/0.005018, allocations: 236.6 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.00506, allocations: 16.61 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.005358, allocations: 93.98 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.005465, allocations: 113.7 kB / 0.8209 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.005479, allocations: 4.375 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.005488, allocations: 384 / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.005636, allocations: 58.94 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.005644, allocations: 4.188 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005654, allocations: 4.375 kB / 0.821 GB, free: 48 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.005663, allocations: 7.922 kB / 0.821 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.005696, allocations: 11.92 kB / 0.821 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.006001, allocations: 144.3 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.006065, allocations: 18.58 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.006087, allocations: 12.92 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.006108, allocations: 0 / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.006145, allocations: 42.53 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.006146, allocations: 0 / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.006289, allocations: 41.64 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.006326, allocations: 55.34 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.006395, allocations: 106.7 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.00641, allocations: 25.7 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.006454, allocations: 84.14 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.006481, allocations: 3.953 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.006523, allocations: 21.83 kB / 0.8215 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006631, allocations: 318.8 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.006647, allocations: 4 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.006659, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.006699, allocations: 16.8 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006701, allocations: 0 / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.24e-05/0.006774, allocations: 37.69 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.00679, allocations: 4 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006794, allocations: 0 / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.006807, allocations: 3.938 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.006916, allocations: 16.08 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006919, allocations: 0 / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.006955, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.006961, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 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 7.762e-05/0.007039, allocations: 109.8 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.007068, allocations: 7.922 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.007115, allocations: 7.312 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.007119, allocations: 3.938 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.007121, allocations: 0 / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007124, allocations: 8 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.007252, allocations: 69.88 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007254, allocations: 0 / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.007323, allocations: 8 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.007334, allocations: 3.953 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007337, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007345, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.00735, allocations: 8.172 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.007352, allocations: 4 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.007477, allocations: 127.6 kB / 0.8222 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.00749, allocations: 8.016 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.007564, allocations: 4 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.007596, allocations: 11.88 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.007602, allocations: 7.938 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.548e-05/0.007618, allocations: 8.844 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007618, allocations: 4 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002054/0.007823, allocations: 4 kB / 0.8223 GB, free: 14.54 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 (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.0001239/0.007947, allocations: 74.92 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.008029, allocations: 16.86 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.008034, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.008056, allocations: 8.859 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.008276, allocations: 15.98 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.008732, allocations: 112.6 kB / 0.8225 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.008775, allocations: 63.2 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.008818, allocations: 4.125 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.008879, allocations: 51.38 kB / 0.8226 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.00888, allocations: 0 / 0.8226 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.002845/0.01172, allocations: 0.603 MB / 0.8232 GB, free: 13.55 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.318098685704172]