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.0008762/0.0008761, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008739/0.0008739, allocations: 172.7 kB / 15.95 MB, free: 208 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 12 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7189, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008681/0.7198, allocations: 333.5 kB / 0.9815 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003986/0.7202, allocations: 135.7 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.7203, allocations: 0 / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.7203, allocations: 4 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.7203, allocations: 0 / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.7206, allocations: 35.91 kB / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.7207, allocations: 11.98 kB / 0.9817 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.7208, allocations: 4 kB / 0.9817 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.7208, allocations: 7.984 kB / 0.9817 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.7209, allocations: 7.922 kB / 0.9817 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.721, allocations: 4 kB / 0.9817 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.721, allocations: 27.97 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.7211, allocations: 4 kB / 0.9817 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.7211, allocations: 33.64 kB / 0.9817 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.256e-05/0.7212, allocations: 23.95 kB / 0.9818 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7212, allocations: 0 / 0.9818 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7212, allocations: 0 / 0.9818 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7212, allocations: 0 / 0.9818 GB, free: 5.656 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.0004385/0.7217, allocations: 327.3 kB / 0.9821 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7217, allocations: 8.031 kB / 0.9821 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.7218, allocations: 34.56 kB / 0.9821 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.7218, allocations: 11.88 kB / 0.9821 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.722, allocations: 169.3 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.722, allocations: 0 / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.722, allocations: 4 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.7222, allocations: 49.64 kB / 0.9823 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7222, allocations: 3.984 kB / 0.9823 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.7222, allocations: 0 / 0.9823 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7222, allocations: 0 / 0.9823 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.7223, allocations: 11.98 kB / 0.9824 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.7225, allocations: 157.7 kB / 0.9825 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.7226, allocations: 54.5 kB / 0.9826 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.7226, allocations: 16.98 kB / 0.9826 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.7227, allocations: 81.09 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.7228, allocations: 34.56 kB / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.7228, allocations: 0 / 0.9827 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001241/0.724, allocations: 0.4884 MB / 0.9832 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.7241, allocations: 51.41 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.7242, allocations: 93.86 kB / 0.9833 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7242, allocations: 25.7 kB / 0.9833 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.7243, allocations: 84.14 kB / 0.9834 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.7243, allocations: 23.61 kB / 0.9834 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.7243, allocations: 4 kB / 0.9834 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7245, allocations: 310.8 kB / 0.9837 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.7245, allocations: 20.11 kB / 0.9837 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.7246, allocations: 15.94 kB / 0.9838 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.7246, allocations: 12 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.7246, allocations: 0 / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.7247, allocations: 65.69 kB / 0.9838 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7248, allocations: 7.984 kB / 0.9838 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.7248, allocations: 3.953 kB / 0.9838 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.7248, allocations: 4 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.7249, allocations: 11.94 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7249, allocations: 0 / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.7249, allocations: 8 kB / 0.9839 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.7249, allocations: 0 / 0.9839 GB, free: 3.184 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 7.958e-05/0.725, allocations: 113.8 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.725, allocations: 3.984 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.7252, allocations: 97.41 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7252, allocations: 3.953 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7252, allocations: 0 / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7252, allocations: 0 / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.7254, allocations: 161.7 kB / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7254, allocations: 0 / 0.9842 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.7255, allocations: 15.98 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7255, allocations: 0 / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.7255, allocations: 4.188 kB / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.7255, allocations: 8 kB / 0.9843 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7255, allocations: 7.891 kB / 0.9843 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.7257, allocations: 113.4 kB / 0.9844 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.7258, allocations: 81.17 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7258, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.7259, allocations: 8.031 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.7259, allocations: 11.94 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.7259, allocations: 0 / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.7259, allocations: 75.28 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7259, allocations: 0 / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002265/0.7262, allocations: 35.98 kB / 0.9846 GB, free: 2.355 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.0005755/0.7268, allocations: 0.6828 MB / 0.9852 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.7269, allocations: 43.91 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7269, allocations: 0 / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.7269, allocations: 23.94 kB / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.7271, allocations: 0 / 0.9853 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.7277, allocations: 421.5 kB / 0.9857 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.728, allocations: 0.6848 MB / 0.9864 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.728, allocations: 8.25 kB / 0.9864 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.7281, allocations: 11.44 kB / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7281, allocations: 3.938 kB / 0.9864 GB, free: 392 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.7401, allocations: 1.589 MB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.7404, allocations: 224.3 kB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.478, allocations: 1.969 kB / 0.9882 GB, free: 14.73 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