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.0009224/0.0009224, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.000931/0.000931, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9964/0.9964, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.455e-06/2.455e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.354e-05, allocations: 7.312 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.006044/0.006077, allocations: 1.499 MB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004604/0.006538, allocations: 184.5 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.009589, allocations: 4 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.009631, allocations: 3.938 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.009686, allocations: 0.9062 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.01002, allocations: 36.5 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.01012, allocations: 32 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.01021, allocations: 1.25 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.01027, allocations: 19.77 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.01031, allocations: 11.98 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.01033, allocations: 5.531 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.01042, allocations: 27.97 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.01044, allocations: 4 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.01046, allocations: 11.98 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.01061, allocations: 40.88 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01061, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01061, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01062, allocations: 0.6875 kB / 0.8134 GB, free: 15.85 MB / 0.7761 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.0004032/0.01102, allocations: 364.6 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.01106, allocations: 9 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.01111, allocations: 8.938 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/0.01121, allocations: 109.4 kB / 0.8138 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.01122, allocations: 4.375 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.01123, allocations: 1.25 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.01138, allocations: 58.89 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.01139, allocations: 1.438 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.0114, allocations: 384 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.0114, allocations: 384 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.01146, allocations: 11.94 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.01177, allocations: 249.7 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.382e-05/0.01183, allocations: 31.06 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.01186, allocations: 11.75 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.01193, allocations: 15.92 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01196, allocations: 34.45 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.01196, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.01213, allocations: 43.39 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.01217, allocations: 51.41 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.01226, allocations: 169.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01227, allocations: 25.7 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.01232, allocations: 126.9 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.01234, allocations: 17.41 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/0.0154, allocations: 23.36 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01553, allocations: 496.1 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.01555, allocations: 3.938 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.01557, allocations: 1.531 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.0156, allocations: 19.69 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.0156, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.087e-05/0.01569, allocations: 39.03 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.0157, allocations: 6.656 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01571, allocations: 3.938 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01572, allocations: 1.75 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.01581, allocations: 8 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01581, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.01584, allocations: 3.984 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.01584, allocations: 4.562 kB / 0.8152 GB, free: 13.74 MB / 0.7761 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.269e-05/0.01591, allocations: 161.3 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.01594, allocations: 3.953 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.01605, allocations: 49.5 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01605, allocations: 1.125 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01605, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01606, allocations: 4 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.01618, allocations: 113.4 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01618, allocations: 5.281 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.01622, allocations: 8 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01623, allocations: 3.984 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.01623, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01623, allocations: 5.031 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01624, allocations: 0 / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.01636, allocations: 188.8 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.01637, allocations: 3.953 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01638, allocations: 8.812 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.01644, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.01648, allocations: 4.922 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.01648, allocations: 7.938 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.01652, allocations: 123.2 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01652, allocations: 1.344 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002529/0.01678, allocations: 8 kB / 0.8159 GB, free: 12.99 MB / 0.7761 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.0001434/0.01692, allocations: 116 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.01701, allocations: 17.59 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01701, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.25e-05/0.01704, allocations: 11.69 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.0173, allocations: 15.91 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.01759, allocations: 115.2 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.01763, allocations: 58.66 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.01765, allocations: 0 / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.01767, allocations: 12.5 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.01767, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.006123/0.0238, allocations: 0.6623 MB / 0.8169 GB, free: 11.96 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.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.937532738316804]