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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 99.55 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.0009776/0.0009777, 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005436, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7738, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007023/0.7746, allocations: 326.7 kB / 0.9539 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.7749, allocations: 151.5 kB / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.775, allocations: 0 / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.775, allocations: 0 / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.985e-05/0.775, allocations: 0 / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.7752, allocations: 29.12 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.7753, allocations: 11.05 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.7753, allocations: 2.25 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.7754, allocations: 10.36 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.7754, allocations: 11.53 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.7755, allocations: 1.188 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.7755, allocations: 25.5 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.7756, allocations: 9.391 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.7756, allocations: 27.14 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.425e-05/0.7756, allocations: 13.72 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7757, allocations: 0 / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7757, allocations: 0 / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7757, allocations: 1.25 kB / 0.9542 GB, free: 7.605 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.0002854/0.776, allocations: 328.7 kB / 0.9545 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.776, allocations: 8.875 kB / 0.9545 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.776, allocations: 32.09 kB / 0.9545 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.7761, allocations: 12.95 kB / 0.9546 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.7762, allocations: 166.4 kB / 0.9547 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.7762, allocations: 1.344 kB / 0.9547 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.7762, allocations: 6.438 kB / 0.9547 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.7763, allocations: 40.59 kB / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7763, allocations: 0 / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.7763, allocations: 5.25 kB / 0.9548 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7763, allocations: 0 / 0.9548 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.7764, allocations: 24.5 kB / 0.9548 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.7765, allocations: 155.4 kB / 0.9549 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.7766, allocations: 47.03 kB / 0.955 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.7767, allocations: 80.7 kB / 0.9551 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.7767, allocations: 35.81 kB / 0.9551 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.7767, allocations: 0 / 0.9551 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001185/0.7779, allocations: 496.5 kB / 0.9556 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.7779, allocations: 56.84 kB / 0.9556 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.743e-05/0.778, allocations: 94.94 kB / 0.9557 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.778, allocations: 30.7 kB / 0.9557 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.317e-05/0.778, allocations: 80.14 kB / 0.9558 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.778, allocations: 27.2 kB / 0.9558 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7781, allocations: 3.938 kB / 0.9559 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.7781, allocations: 311.8 kB / 0.9561 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.7781, allocations: 11.47 kB / 0.9562 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.7782, allocations: 14.45 kB / 0.9562 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.7782, allocations: 12.78 kB / 0.9562 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7782, allocations: 0 / 0.9562 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.946e-05/0.7783, allocations: 74.67 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7783, allocations: 5.25 kB / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7783, allocations: 0 / 0.9563 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.7784, allocations: 5.312 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.7784, allocations: 18.55 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7785, allocations: 1.281 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.7785, allocations: 4.391 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.7785, allocations: 2.469 kB / 0.9563 GB, free: 5.402 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 4.988e-05/0.7785, allocations: 112.1 kB / 0.9564 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.7786, allocations: 5.234 kB / 0.9564 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.7787, allocations: 92.08 kB / 0.9565 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7787, allocations: 5.688 kB / 0.9565 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7787, allocations: 0 / 0.9565 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7787, allocations: 3.984 kB / 0.9565 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.158e-05/0.7788, allocations: 166.1 kB / 0.9567 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7788, allocations: 0 / 0.9567 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.7789, allocations: 11.22 kB / 0.9567 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7789, allocations: 1.094 kB / 0.9567 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.7789, allocations: 9.484 kB / 0.9567 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7789, allocations: 0 / 0.9567 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.779, allocations: 80 / 0.9567 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.7791, allocations: 126.2 kB / 0.9568 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.7791, allocations: 78.08 kB / 0.9569 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.7792, allocations: 5 kB / 0.9569 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.7792, allocations: 5.938 kB / 0.9569 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.7792, allocations: 6.953 kB / 0.9569 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.7792, allocations: 1.406 kB / 0.9569 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.622e-05/0.7793, allocations: 80.78 kB / 0.957 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7793, allocations: 0 / 0.957 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002158/0.7795, allocations: 32.06 kB / 0.957 GB, free: 4.691 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.0003996/0.7799, allocations: 0.6822 MB / 0.9577 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.78, allocations: 35.52 kB / 0.9577 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.78, allocations: 4.156 kB / 0.9577 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.78, allocations: 26.55 kB / 0.9577 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.7802, allocations: 2.938 kB / 0.9577 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.7807, allocations: 405 kB / 0.9581 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.7808, allocations: 0.6913 MB / 0.9588 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.7808, allocations: 4.094 kB / 0.9588 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.7809, allocations: 15.31 kB / 0.9588 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7809, allocations: 0 / 0.9588 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.7921, allocations: 1.582 MB / 0.9604 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.7923, allocations: 212.5 kB / 0.9606 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.372, allocations: 0 / 0.9606 GB, free: 1.965 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat