Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8401, allocations: 140.3 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002516/0.8427, allocations: 0.6688 MB / 0.9498 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.8432, allocations: 162.5 kB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.8433, allocations: 1.25 kB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.8433, allocations: 0 / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/0.8434, allocations: 0 / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.8438, allocations: 38.98 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.8439, allocations: 10.88 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.8439, allocations: 1.375 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.844, allocations: 16.11 kB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.844, allocations: 6.688 kB / 0.95 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.8441, allocations: 1.375 kB / 0.95 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.8442, allocations: 39.02 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.8442, allocations: 5.359 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.8442, allocations: 10.69 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.8443, allocations: 24.2 kB / 0.9501 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8444, allocations: 0 / 0.9501 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8444, allocations: 1.375 kB / 0.9501 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8444, allocations: 0 / 0.9501 GB, free: 8.453 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000425/0.8448, allocations: 337.1 kB / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/0.8449, allocations: 13.61 kB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.845, allocations: 6.25 kB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.8451, allocations: 161.8 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8451, allocations: 5.75 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.8452, allocations: 1.75 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.8453, allocations: 42.5 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8453, allocations: 192 / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.8453, allocations: 5.312 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8454, allocations: 4 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.8454, allocations: 20.17 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.8456, allocations: 157.1 kB / 0.9508 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.8457, allocations: 44.5 kB / 0.9508 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.8458, allocations: 21.17 kB / 0.9508 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.8459, allocations: 83.84 kB / 0.9509 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.846, allocations: 35.94 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.846, allocations: 0 / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001373/0.8473, allocations: 495.6 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.8474, allocations: 56.72 kB / 0.9515 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.8474, allocations: 99.22 kB / 0.9516 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.8474, allocations: 25.7 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.8475, allocations: 85.64 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.8475, allocations: 22.38 kB / 0.9517 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.8476, allocations: 23.48 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.8476, allocations: 312 kB / 0.952 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.8477, allocations: 10.38 kB / 0.952 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.8477, allocations: 16.17 kB / 0.9521 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.118e-05/0.8478, allocations: 34.3 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8478, allocations: 0 / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001144/0.8479, allocations: 71.19 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8479, allocations: 15 kB / 0.9522 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8479, allocations: 5.828 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.848, allocations: 0 / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.8481, allocations: 10.62 kB / 0.9522 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8481, allocations: 5.562 kB / 0.9522 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.8481, allocations: 4 kB / 0.9522 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.8481, allocations: 6.844 kB / 0.9522 GB, free: 6.23 MB / 0.7169 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 (8): * Single equations (assignments): 8 * 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.273e-05/0.8482, allocations: 107.7 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.8482, allocations: 12.95 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.8484, allocations: 87.77 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8484, allocations: 1.75 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8484, allocations: 0 / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8484, allocations: 1.656 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.8485, allocations: 160.6 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8485, allocations: 0 / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.8486, allocations: 15.55 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.8486, allocations: 4.812 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.8486, allocations: 1.594 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.8486, allocations: 8 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8486, allocations: 0 / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.8488, allocations: 122.9 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.8489, allocations: 82.45 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.8489, allocations: 1.188 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.8489, allocations: 1.375 kB / 0.9528 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.849, allocations: 10.52 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.849, allocations: 2.594 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.005e-05/0.849, allocations: 80.5 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.849, allocations: 0 / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002391/0.8493, allocations: 32.28 kB / 0.9529 GB, free: 5.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000256/0.8495, allocations: 136.8 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.8497, allocations: 41.59 kB / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8497, allocations: 0 / 0.9531 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.8497, allocations: 23.53 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.8499, allocations: 11.28 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.8502, allocations: 147 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.8503, allocations: 0.6828 MB / 0.9539 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.8504, allocations: 9.156 kB / 0.9539 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.8504, allocations: 14.91 kB / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.8504, allocations: 0 / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.003742/0.8542, allocations: 0.8711 MB / 0.9548 GB, free: 4.074 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches