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.0008156/0.0008155, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009289/0.0009289, allocations: 172.7 kB / 15.95 MB, free: 192 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.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.402 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.341/2.341, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7832/0.7836, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0009011/0.7845, allocations: 325.2 kB / 0.9542 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004263/0.785, allocations: 150.2 kB / 0.9543 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.785, allocations: 0 / 0.9543 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.785, allocations: 0 / 0.9543 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.7851, allocations: 0 / 0.9543 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.7854, allocations: 26.55 kB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.7855, allocations: 18.23 kB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.7855, allocations: 5.203 kB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.7855, allocations: 2.562 kB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.7856, allocations: 14.45 kB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.7856, allocations: 1.281 kB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.7857, allocations: 32.25 kB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.7857, allocations: 1.156 kB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.7858, allocations: 26.92 kB / 0.9545 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.68e-05/0.7859, allocations: 17.23 kB / 0.9545 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7859, allocations: 1.219 kB / 0.9545 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7859, allocations: 0 / 0.9545 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.7859, allocations: 4 kB / 0.9545 GB, free: 7.703 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.0003648/0.7863, allocations: 327 kB / 0.9548 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.7863, allocations: 9.531 kB / 0.9548 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.7864, allocations: 31.75 kB / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.7864, allocations: 14.33 kB / 0.9548 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7865, allocations: 173.2 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7865, allocations: 1.469 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.7866, allocations: 1.5 kB / 0.955 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.7867, allocations: 45.62 kB / 0.9551 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7867, allocations: 3.984 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7867, allocations: 1.469 kB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7868, allocations: 0 / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.7868, allocations: 16.77 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.787, allocations: 155 kB / 0.9552 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.7871, allocations: 47.59 kB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.7871, allocations: 25.16 kB / 0.9553 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.7873, allocations: 79.92 kB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.7873, allocations: 34.56 kB / 0.9554 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.7873, allocations: 4.5 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001291/0.7886, allocations: 489.8 kB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.7886, allocations: 59.36 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.7887, allocations: 99.77 kB / 0.956 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.7887, allocations: 27.05 kB / 0.956 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.7887, allocations: 80.14 kB / 0.9561 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.7888, allocations: 22.61 kB / 0.9561 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.7888, allocations: 0 / 0.9561 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.7889, allocations: 316.3 kB / 0.9564 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.7889, allocations: 7.406 kB / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.7889, allocations: 14.95 kB / 0.9565 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.789, allocations: 16.47 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.789, allocations: 4.125 kB / 0.9565 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001302/0.7891, allocations: 70.52 kB / 0.9566 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7892, allocations: 5.531 kB / 0.9566 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7892, allocations: 0 / 0.9566 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7892, allocations: 1.5 kB / 0.9566 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.7893, allocations: 17.89 kB / 0.9566 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.7893, allocations: 1.438 kB / 0.9566 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.7893, allocations: 9.297 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.7893, allocations: 1.469 kB / 0.9566 GB, free: 5.484 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 7.283e-05/0.7894, allocations: 111.2 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.7894, allocations: 2.75 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.7896, allocations: 82.36 kB / 0.9568 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7896, allocations: 1.812 kB / 0.9568 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7896, allocations: 3.984 kB / 0.9568 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7896, allocations: 0.8438 kB / 0.9568 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.7898, allocations: 168.9 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7898, allocations: 0.8125 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.7899, allocations: 11.31 kB / 0.957 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7899, allocations: 9.047 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.7899, allocations: 0.875 kB / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7899, allocations: 0 / 0.957 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7899, allocations: 4.656 kB / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.7901, allocations: 125.4 kB / 0.9571 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.7901, allocations: 78.3 kB / 0.9572 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.7901, allocations: 8.891 kB / 0.9572 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.7902, allocations: 2.469 kB / 0.9572 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.7902, allocations: 10.3 kB / 0.9572 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.7902, allocations: 6.219 kB / 0.9572 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.7903, allocations: 76.38 kB / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7903, allocations: 0 / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002485/0.7905, allocations: 28.12 kB / 0.9573 GB, free: 4.781 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.0004866/0.791, allocations: 0.6939 MB / 0.958 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.7911, allocations: 35.86 kB / 0.958 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7911, allocations: 0 / 0.958 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.7912, allocations: 22.8 kB / 0.958 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.7914, allocations: 9.125 kB / 0.958 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.7919, allocations: 407.2 kB / 0.9584 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.792, allocations: 0.6804 MB / 0.9591 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.7921, allocations: 8.141 kB / 0.9591 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.7921, allocations: 14.47 kB / 0.9591 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7921, allocations: 1.125 kB / 0.9591 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.8042, allocations: 1.607 MB / 0.9607 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.8044, allocations: 210.7 kB / 0.9609 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.355, allocations: 0 / 0.9609 GB, free: 2.043 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