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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009634/0.0009636, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009511/0.0009512, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006318, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9373, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008355/0.9382, allocations: 325.9 kB / 0.9538 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.9386, allocations: 154.6 kB / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.9386, allocations: 0 / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.9387, allocations: 0 / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.9387, allocations: 0 / 0.954 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.939, allocations: 33.39 kB / 0.954 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.939, allocations: 12.19 kB / 0.954 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.9391, allocations: 1.438 kB / 0.954 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.9391, allocations: 6.906 kB / 0.954 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.9392, allocations: 10.83 kB / 0.954 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.9392, allocations: 1.438 kB / 0.954 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.9393, allocations: 28.69 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.9393, allocations: 5.484 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.9393, allocations: 28.61 kB / 0.9541 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.415e-05/0.9394, allocations: 16.59 kB / 0.9541 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.9394, allocations: 4 kB / 0.9541 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9394, allocations: 0 / 0.9541 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.9394, allocations: 1.469 kB / 0.9541 GB, free: 7.602 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.0002951/0.9397, allocations: 322.5 kB / 0.9544 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.9398, allocations: 9.219 kB / 0.9544 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.9398, allocations: 9.797 kB / 0.9545 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.9399, allocations: 163 kB / 0.9546 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9399, allocations: 1.906 kB / 0.9546 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.9399, allocations: 5.812 kB / 0.9546 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.94, allocations: 44.97 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9401, allocations: 0 / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.9401, allocations: 1.156 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9401, allocations: 1.031 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.9401, allocations: 19.72 kB / 0.9547 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.9403, allocations: 156.7 kB / 0.9548 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.9404, allocations: 48 kB / 0.9549 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.9405, allocations: 87.41 kB / 0.955 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.9405, allocations: 31.47 kB / 0.955 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.073e-06/0.9405, allocations: 0.9688 kB / 0.955 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001179/0.9417, allocations: 496.5 kB / 0.9555 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9417, allocations: 52.62 kB / 0.9555 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.9418, allocations: 100.2 kB / 0.9556 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.9418, allocations: 29.7 kB / 0.9556 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/0.9418, allocations: 80.14 kB / 0.9557 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.9419, allocations: 19.2 kB / 0.9557 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.9419, allocations: 4 kB / 0.9557 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.9419, allocations: 316.2 kB / 0.956 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.942, allocations: 15.45 kB / 0.9561 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.942, allocations: 10.5 kB / 0.9561 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.942, allocations: 12.09 kB / 0.9561 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.942, allocations: 1.562 kB / 0.9561 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001005/0.9421, allocations: 77.64 kB / 0.9561 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9422, allocations: 5.625 kB / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.9422, allocations: 7.922 kB / 0.9562 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9422, allocations: 4.734 kB / 0.9562 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.9423, allocations: 10.97 kB / 0.9562 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.9423, allocations: 1.75 kB / 0.9562 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.9423, allocations: 3.938 kB / 0.9562 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.9423, allocations: 6.828 kB / 0.9562 GB, free: 5.441 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.9424, allocations: 115.4 kB / 0.9563 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.9424, allocations: 5.641 kB / 0.9563 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.9426, allocations: 83.42 kB / 0.9564 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9426, allocations: 1.5 kB / 0.9564 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9426, allocations: 0 / 0.9564 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9426, allocations: 0 / 0.9564 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.9427, allocations: 165.4 kB / 0.9565 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9427, allocations: 1.281 kB / 0.9565 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.9428, allocations: 19.2 kB / 0.9566 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9428, allocations: 4 kB / 0.9566 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.9428, allocations: 5.688 kB / 0.9566 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9428, allocations: 0 / 0.9566 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9428, allocations: 0 / 0.9566 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.943, allocations: 115 kB / 0.9567 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.943, allocations: 78.11 kB / 0.9568 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9431, allocations: 5.219 kB / 0.9568 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.9431, allocations: 5.219 kB / 0.9568 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.9431, allocations: 14.52 kB / 0.9568 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.9432, allocations: 6.281 kB / 0.9568 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.965e-05/0.9432, allocations: 76.44 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9432, allocations: 0 / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002206/0.9434, allocations: 28.19 kB / 0.9569 GB, free: 4.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.9436, allocations: 129.4 kB / 0.957 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.9437, allocations: 40.2 kB / 0.957 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9437, allocations: 4.094 kB / 0.957 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.9438, allocations: 27.61 kB / 0.9571 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.9439, allocations: 5.078 kB / 0.9571 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.9442, allocations: 144 kB / 0.9572 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.9443, allocations: 0.6826 MB / 0.9579 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.9443, allocations: 8.062 kB / 0.9579 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.9443, allocations: 15.64 kB / 0.9579 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9443, allocations: 0 / 0.9579 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.00303/0.9474, allocations: 0.8246 MB / 0.9587 GB, free: 3.316 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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches