Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001587/0.001586, allocations: 99.55 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.00218/0.00218, allocations: 177.3 kB / 15.94 MB, free: 228 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.505/2.505, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.683/4.683, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006818/0.0006822, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385/1.386, allocations: 146.8 MB / 0.9809 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001216/1.387, allocations: 325.6 kB / 0.9812 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002206/1.389, allocations: 1.068 MB / 0.9822 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/1.389, allocations: 8 kB / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/1.389, allocations: 0 / 0.9822 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003818/1.39, allocations: 7.938 kB / 0.9822 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.7e-06/1.39, allocations: 0 / 0.9822 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.967e-05/1.39, allocations: 7.984 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/1.39, allocations: 3.984 kB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/1.39, allocations: 3.938 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/1.39, allocations: 7.938 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/1.39, allocations: 0 / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/1.39, allocations: 19.97 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/1.39, allocations: 4 kB / 0.9823 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/1.39, allocations: 29.7 kB / 0.9823 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/1.39, allocations: 4 kB / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.39, allocations: 0 / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.336e-06/1.39, allocations: 0 / 0.9823 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.39, allocations: 0 / 0.9823 GB, free: 4.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004364/1.391, allocations: 319.3 kB / 0.9826 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.642e-05/1.391, allocations: 8.031 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/1.391, allocations: 34.5 kB / 0.9827 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/1.391, allocations: 4 kB / 0.9827 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/1.391, allocations: 167.1 kB / 0.9828 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.391, allocations: 4 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/1.391, allocations: 3.938 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/1.391, allocations: 33.66 kB / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.391, allocations: 0 / 0.9829 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.391, allocations: 4 kB / 0.9829 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.391, allocations: 0 / 0.9829 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.552e-05/1.392, allocations: 7.984 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/1.392, allocations: 149.7 kB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/1.392, allocations: 42.55 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/1.392, allocations: 85.19 kB / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.392, allocations: 38.56 kB / 0.9832 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/1.392, allocations: 0 / 0.9832 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.006735/1.399, allocations: 0.5659 MB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.399, allocations: 55.41 kB / 0.9838 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/1.399, allocations: 89.86 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.399, allocations: 29.7 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/1.399, allocations: 84.14 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/1.4, allocations: 23.58 kB / 0.984 GB, free: 3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/1.4, allocations: 4 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.4, allocations: 314.8 kB / 0.9843 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/1.401, allocations: 83.95 kB / 0.9844 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/1.402, allocations: 102.5 kB / 0.9845 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/1.403, allocations: 83.95 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.403, allocations: 4 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001876/1.405, allocations: 209.6 kB / 0.9848 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.405, allocations: 11.94 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.405, allocations: 0 / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/1.405, allocations: 3.953 kB / 0.9848 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/1.405, allocations: 52 kB / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.405, allocations: 0 / 0.9848 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/1.406, allocations: 39.98 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/1.406, allocations: 3.984 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001726/1.406, allocations: 113.8 kB / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/1.406, allocations: 0 / 0.985 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/1.408, allocations: 241 kB / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.408, allocations: 432 / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.408, allocations: 7.953 kB / 0.9852 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.408, allocations: 0 / 0.9852 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/1.41, allocations: 446.5 kB / 0.9856 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/1.41, allocations: 7.938 kB / 0.9857 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/1.411, allocations: 55.89 kB / 0.9857 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.411, allocations: 7.953 kB / 0.9857 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/1.411, allocations: 0 / 0.9857 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.411, allocations: 4 kB / 0.9857 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.411, allocations: 3.984 kB / 0.9857 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.413, allocations: 299.7 kB / 0.986 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/1.413, allocations: 81.09 kB / 0.9861 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/1.413, allocations: 7.953 kB / 0.9861 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/1.414, allocations: 35.98 kB / 0.9861 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.414, allocations: 8 kB / 0.9861 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.414, allocations: 7.984 kB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.965e-05/1.414, allocations: 75.28 kB / 0.9862 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.457e-06/1.414, allocations: 0 / 0.9862 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005324/1.414, allocations: 15.94 kB / 0.9862 GB, free: 0.5898 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00267/1.417, allocations: 0.8392 MB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.419, allocations: 175.9 kB / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.419, allocations: 0 / 0.9872 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/1.42, allocations: 92.06 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/1.42, allocations: 10.02 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.422, allocations: 236.3 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/1.423, allocations: 0.6809 MB / 0.9882 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004455/1.423, allocations: 28 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/1.423, allocations: 11.42 kB / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/1.423, allocations: 0 / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/1.447, allocations: 1.422 MB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004516/1.447, allocations: 204.4 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/4.359, allocations: 9.109 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat does not exist to compare? outputFormat=mat