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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 100.8 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.001531/0.001531, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.301/2.301, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.383/4.383, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004247, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.227, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001211/1.228, allocations: 337.6 kB / 0.9812 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005805/1.229, allocations: 139.6 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/1.229, allocations: 0 / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/1.229, allocations: 4 kB / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/1.229, allocations: 0 / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/1.229, allocations: 39.83 kB / 0.9814 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/1.229, allocations: 4 kB / 0.9814 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/1.229, allocations: 0 / 0.9814 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/1.229, allocations: 8 kB / 0.9814 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/1.229, allocations: 11.92 kB / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/1.229, allocations: 0 / 0.9814 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/1.23, allocations: 31.95 kB / 0.9814 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/1.23, allocations: 4 kB / 0.9814 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/1.23, allocations: 25.7 kB / 0.9815 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/1.23, allocations: 19.91 kB / 0.9815 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.23, allocations: 4 kB / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.306e-06/1.23, allocations: 0 / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.23, allocations: 0 / 0.9815 GB, free: 5.688 MB / 0.7325 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.0005905/1.23, allocations: 331.3 kB / 0.9818 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/1.23, allocations: 8.031 kB / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/1.231, allocations: 30.56 kB / 0.9818 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/1.231, allocations: 4 kB / 0.9818 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/1.231, allocations: 169.2 kB / 0.982 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.231, allocations: 4 kB / 0.982 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/1.231, allocations: 8 kB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/1.231, allocations: 45.64 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.231, allocations: 0 / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.231, allocations: 7.922 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.231, allocations: 0 / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/1.231, allocations: 15.98 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/1.232, allocations: 153.7 kB / 0.9822 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/1.232, allocations: 50.56 kB / 0.9823 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/1.232, allocations: 85.09 kB / 0.9823 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.232, allocations: 38.69 kB / 0.9824 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/1.232, allocations: 0 / 0.9824 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.00217/1.234, allocations: 488.2 kB / 0.9829 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.235, allocations: 55.34 kB / 0.9829 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.235, allocations: 97.86 kB / 0.983 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/1.235, allocations: 29.7 kB / 0.983 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/1.235, allocations: 80.14 kB / 0.9831 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/1.235, allocations: 23.62 kB / 0.9831 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/1.235, allocations: 0 / 0.9831 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002665/1.235, allocations: 314.8 kB / 0.9834 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/1.235, allocations: 12 kB / 0.9834 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-05/1.235, allocations: 11.98 kB / 0.9834 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/1.235, allocations: 15.98 kB / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.235, allocations: 8.125 kB / 0.9835 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001971/1.236, allocations: 65.69 kB / 0.9835 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.236, allocations: 4 kB / 0.9835 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.236, allocations: 0 / 0.9835 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/1.236, allocations: 3.953 kB / 0.9835 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/1.236, allocations: 19.92 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.236, allocations: 0 / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/1.236, allocations: 4 kB / 0.9836 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.236, allocations: 4 kB / 0.9836 GB, free: 3.234 MB / 0.7325 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 0.0001548/1.236, allocations: 113.8 kB / 0.9837 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/1.236, allocations: 0 / 0.9837 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/1.236, allocations: 85.48 kB / 0.9838 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/1.237, allocations: 7.953 kB / 0.9838 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.237, allocations: 3.938 kB / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.237, allocations: 0 / 0.9838 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/1.237, allocations: 177.5 kB / 0.9839 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.237, allocations: 0 / 0.9839 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.237, allocations: 12 kB / 0.984 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.237, allocations: 4 kB / 0.984 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.237, allocations: 0 / 0.984 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/1.237, allocations: 3.984 kB / 0.984 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.237, allocations: 7.953 kB / 0.984 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/1.237, allocations: 113.4 kB / 0.9841 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/1.238, allocations: 77.11 kB / 0.9841 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/1.238, allocations: 192 / 0.9841 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/1.238, allocations: 8.031 kB / 0.9842 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/1.238, allocations: 4.062 kB / 0.9842 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.238, allocations: 11.94 kB / 0.9842 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.374e-05/1.238, allocations: 79.28 kB / 0.9842 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.238, allocations: 0 / 0.9842 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004515/1.238, allocations: 28 kB / 0.9843 GB, free: 2.41 MB / 0.7325 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.001053/1.239, allocations: 0.6867 MB / 0.9849 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001864/1.24, allocations: 39.97 kB / 0.985 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.24, allocations: 0 / 0.985 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/1.24, allocations: 27.92 kB / 0.985 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/1.24, allocations: 4 kB / 0.985 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/1.241, allocations: 417.3 kB / 0.9854 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/1.242, allocations: 0.6848 MB / 0.9861 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.237e-05/1.242, allocations: 4.281 kB / 0.9861 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/1.242, allocations: 15.38 kB / 0.9861 GB, free: 448 kB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.242, allocations: 0 / 0.9861 GB, free: 448 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.265, allocations: 1.584 MB / 0.9876 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/1.266, allocations: 225.5 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.37, allocations: 0 / 0.9879 GB, free: 14.78 MB / 0.7481 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) Environment - environmentSimulation: 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