Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.0009828/0.0009828, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002432, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009385/0.0009385, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002188, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.959/0.959, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09799/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4745/2.37, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.48e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003199/0.003224, allocations: 1.544 MB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.003592, allocations: 192.8 kB / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.003623, allocations: 0 / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.003654, allocations: 0 / 0.731 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.003692, allocations: 6.297 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.00389, allocations: 41.89 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.003967, allocations: 20.47 kB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.004054, allocations: 8.766 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.004138, allocations: 18.03 kB / 0.7311 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.004183, allocations: 8.859 kB / 0.7311 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.0042, allocations: 4.656 kB / 0.7311 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.004328, allocations: 35.97 kB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.004346, allocations: 5.953 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.004363, allocations: 6.031 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.0045, allocations: 37.97 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.004517, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004518, allocations: 0.875 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.004537, allocations: 0.6562 kB / 0.7312 GB, free: 2.598 MB / 0.698 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.0004156/0.004953, allocations: 246 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.004988, allocations: 8.031 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.005017, allocations: 4.938 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.005113, allocations: 110.4 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.005124, allocations: 1.141 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.005132, allocations: 5 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005263, allocations: 54.94 kB / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005271, allocations: 1.906 kB / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005279, allocations: 384 / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005285, allocations: 384 / 0.7316 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.005314, allocations: 7.938 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.005544, allocations: 150 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.005596, allocations: 22.52 kB / 0.7318 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.005614, allocations: 9.797 kB / 0.7318 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.005917, allocations: 66.45 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.005943, allocations: 35.16 kB / 0.7319 GB, free: 1.805 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.005944, allocations: 0 / 0.7319 GB, free: 1.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.006073, allocations: 40.55 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.006105, allocations: 55.34 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.006171, allocations: 106.6 kB / 0.7321 GB, free: 1.578 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006182, allocations: 25.7 kB / 0.7321 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.006217, allocations: 92.75 kB / 0.7322 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006236, allocations: 7.953 kB / 0.7322 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.006265, allocations: 14.5 kB / 0.7322 GB, free: 1.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.006354, allocations: 314.8 kB / 0.7325 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.006364, allocations: 1.094 kB / 0.7325 GB, free: 1.109 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-06/0.006373, allocations: 4.766 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.0064, allocations: 9.578 kB / 0.7326 GB, free: 1.094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006401, allocations: 1.031 kB / 0.7326 GB, free: 1.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.164e-05/0.006473, allocations: 37.69 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.006487, allocations: 5.781 kB / 0.7326 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006491, allocations: 0 / 0.7326 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.0065, allocations: 3.938 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.00657, allocations: 12.7 kB / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006573, allocations: 0 / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.006595, allocations: 5.203 kB / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.006599, allocations: 4 kB / 0.7326 GB, free: 1.023 MB / 0.698 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 6.043e-05/0.00666, allocations: 105.8 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.006682, allocations: 5.781 kB / 0.7327 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.006766, allocations: 41 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006768, allocations: 0.9844 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.006771, allocations: 3.938 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006775, allocations: 0.75 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.006891, allocations: 73.83 kB / 0.7328 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.006895, allocations: 8.578 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.006931, allocations: 4.75 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.006937, allocations: 0 / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006939, allocations: 5.344 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.006946, allocations: 7.984 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006948, allocations: 0.6562 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.006951, allocations: 3.938 kB / 0.7329 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.00704, allocations: 128.6 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.007051, allocations: 4.922 kB / 0.733 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.007103, allocations: 8 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.007132, allocations: 0 / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007135, allocations: 1.875 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.007153, allocations: 16.78 kB / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007153, allocations: 0.6562 kB / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002036/0.007357, allocations: 12 kB / 0.733 GB, free: 0.5508 MB / 0.698 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.0001398/0.007496, allocations: 90.09 kB / 0.7331 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.007567, allocations: 24.78 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.007572, allocations: 1.469 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.00759, allocations: 8.859 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.007782, allocations: 6.031 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.008184, allocations: 111.4 kB / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.999e-05/0.008224, allocations: 59.34 kB / 0.7333 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.008244, allocations: 0 / 0.7333 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.008298, allocations: 51.38 kB / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/0.008299, allocations: 0 / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of Templates: time 0.002829/0.01113, allocations: 0.643 MB / 0.734 GB, free: 15.54 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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: 4.770614672452211]