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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.994/1.994, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.0009287/0.0009288, allocations: 172.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0007785/0.0007786, allocations: 102.5 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.611e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7/0.8941, allocations: 148.7 MB / 1.358 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.8943, allocations: 74.86 kB / 1.358 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005131/0.8994, allocations: 2.044 MB / 1.36 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8994, allocations: 0 / 1.36 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8995, allocations: 0.7188 kB / 1.36 GB, free: 34.77 MB / 0.8386 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.0001983/0.8997, allocations: 334.8 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8997, allocations: 7.688 kB / 1.36 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.8997, allocations: 31.22 kB / 1.36 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.8998, allocations: 4.656 kB / 1.36 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.034e-05/0.8998, allocations: 168.5 kB / 1.36 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.8999, allocations: 0 / 1.36 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.8999, allocations: 10.22 kB / 1.36 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.9, allocations: 45.27 kB / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.9, allocations: 0 / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.9, allocations: 0 / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.9, allocations: 4 kB / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.9, allocations: 17.58 kB / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.9001, allocations: 167.7 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.9002, allocations: 51.38 kB / 1.361 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.9003, allocations: 16.42 kB / 1.361 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/0.9003, allocations: 82.31 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.9003, allocations: 38.19 kB / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.9004, allocations: 0 / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0009074/0.9013, allocations: 468.5 kB / 1.361 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.9013, allocations: 52.16 kB / 1.361 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.443e-05/0.9013, allocations: 89.27 kB / 1.361 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.9014, allocations: 25.7 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/0.9014, allocations: 84.02 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.9014, allocations: 21.45 kB / 1.361 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9014, allocations: 4 kB / 1.361 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.9015, allocations: 323.4 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.9015, allocations: 10.44 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.9015, allocations: 22.33 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.9015, allocations: 13.84 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.9015, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.31e-05/0.9016, allocations: 68.69 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.9016, allocations: 3.812 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.9017, allocations: 0 / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.9017, allocations: 4 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.9017, allocations: 13.14 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9018, allocations: 0 / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.9018, allocations: 7.781 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.9018, allocations: 1.547 kB / 1.362 GB, free: 32.74 MB / 0.8386 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 3.808e-05/0.9018, allocations: 116.3 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.9019, allocations: 3.906 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.902, allocations: 81.66 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.902, allocations: 4 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.902, allocations: 0 / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.902, allocations: 1.781 kB / 1.362 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.634e-05/0.9021, allocations: 172 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9021, allocations: 0 / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.9022, allocations: 18.83 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9022, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.9022, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9022, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.9022, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.9023, allocations: 114.7 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.9024, allocations: 85.03 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.9024, allocations: 5.75 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.9024, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.9024, allocations: 5.016 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.9024, allocations: 3.781 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.437e-05/0.9025, allocations: 76.73 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9025, allocations: 4.156 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001875/0.9027, allocations: 43.11 kB / 1.363 GB, free: 32.12 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.000327/0.903, allocations: 0.6962 MB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.9031, allocations: 37.38 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9031, allocations: 0 / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.9031, allocations: 27.45 kB / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.458e-05/0.9032, allocations: 0 / 1.363 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.9035, allocations: 158 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.9037, allocations: 0.6817 MB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.9037, allocations: 13.27 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.9038, allocations: 20.59 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/0.9038, allocations: 0 / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.9142, allocations: 1.48 MB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/0.9144, allocations: 185.1 kB / 1.366 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.332, allocations: 0 / 1.366 GB, free: 30.28 MB / 0.8386 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