Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009734/0.0009734, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.3 MB / 0.7915 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 95.88 kB / 0.9318 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.023e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7091/0.9223, allocations: 149.5 MB / 1.365 GB, free: 4.355 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.9226, allocations: 75.81 kB / 1.365 GB, free: 4.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00528/0.9279, allocations: 2.045 MB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9279, allocations: 3.938 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.9279, allocations: 0 / 1.367 GB, free: 2.57 MB / 0.823 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.0002487/0.9281, allocations: 329.6 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.9282, allocations: 8.031 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.9282, allocations: 34.56 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.9283, allocations: 4 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.9284, allocations: 163.8 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.9284, allocations: 2.812 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.9284, allocations: 7.984 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.9285, allocations: 45.12 kB / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9285, allocations: 0 / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.9285, allocations: 3.875 kB / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9286, allocations: 0 / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.9286, allocations: 16.86 kB / 1.368 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.9288, allocations: 172.7 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.9289, allocations: 44.94 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.9289, allocations: 20.3 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.712e-05/0.929, allocations: 77.11 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.929, allocations: 38.25 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.929, allocations: 3.938 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.00104/0.9301, allocations: 465.2 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.9301, allocations: 51.41 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.9302, allocations: 92.98 kB / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.9302, allocations: 25.7 kB / 1.368 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.9302, allocations: 84.12 kB / 1.369 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.9302, allocations: 22.84 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.9303, allocations: 3.5 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.9303, allocations: 326.8 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.9304, allocations: 11.5 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.9304, allocations: 18.5 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.9304, allocations: 10.88 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.9304, allocations: 0 / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.737e-05/0.9305, allocations: 67.56 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9306, allocations: 4 kB / 1.369 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9306, allocations: 7.922 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.9306, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.9307, allocations: 12 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.9307, allocations: 4 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.9307, allocations: 0 / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.9307, allocations: 7.062 kB / 1.369 GB, free: 216 kB / 0.823 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 () * 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 5.387e-05/0.9308, allocations: 108.9 kB / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.9308, allocations: 7.906 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.931, allocations: 82.73 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.931, allocations: 4 kB / 1.369 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.931, allocations: 4 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.931, allocations: 0 / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.9311, allocations: 164.9 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9311, allocations: 0 / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.9312, allocations: 19.98 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9312, allocations: 3.938 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.9312, allocations: 3.5 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.9312, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9312, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.9314, allocations: 121.4 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.9314, allocations: 81.02 kB / 1.37 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.9315, allocations: 4.031 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.9315, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.9315, allocations: 4 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.9315, allocations: 7.359 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.9316, allocations: 79.28 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9316, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001976/0.9318, allocations: 39.22 kB / 1.37 GB, free: 15.43 MB / 0.8386 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 () * 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.0004639/0.9322, allocations: 0.6922 MB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.662e-05/0.9323, allocations: 39.28 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.9324, allocations: 0 / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.9324, allocations: 27.58 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.328e-05/0.9325, allocations: 8.188 kB / 1.37 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.9328, allocations: 158.2 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.933, allocations: 0.6848 MB / 1.371 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.9331, allocations: 4.188 kB / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.9331, allocations: 14.81 kB / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/0.9331, allocations: 0 / 1.371 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.9445, allocations: 1.484 MB / 1.373 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.9447, allocations: 196.8 kB / 1.373 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.42, allocations: 0 / 1.373 GB, free: 12.22 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat