Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_10_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.007323/0.007323, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001843/0.001843, allocations: 192.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.89 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7071, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001683/0.7089, allocations: 0.596 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.7103, allocations: 1.105 MB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.7103, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.7104, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.7106, allocations: 27.92 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.7106, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.7107, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.7107, allocations: 3.984 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.7107, allocations: 0 / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.7108, allocations: 7.938 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.7108, allocations: 3.984 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.7109, allocations: 19.92 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.7109, allocations: 4 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.09e-05/0.7109, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.711, allocations: 11.97 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.711, allocations: 8 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.711, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.711, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 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.0003127/0.7113, allocations: 326.1 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.7114, allocations: 8.922 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.7114, allocations: 30.75 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.7114, allocations: 8.891 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.7115, allocations: 160.4 kB / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.7116, allocations: 384 / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7116, allocations: 384 / 1.168 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.7117, allocations: 53.73 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7117, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7117, allocations: 4 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.7117, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.7118, allocations: 7.984 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.7119, allocations: 154.6 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.7121, allocations: 34.61 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.7121, allocations: 12.86 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.7123, allocations: 85.19 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.7123, allocations: 34.5 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.7123, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.00405/0.7164, allocations: 0.5715 MB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.7164, allocations: 51.41 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.7165, allocations: 93.86 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.7165, allocations: 29.7 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.7166, allocations: 80.14 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.7166, allocations: 15.86 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.7167, allocations: 21.7 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7168, allocations: 314.8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005949/0.7174, allocations: 87.95 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.718, allocations: 102.5 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7192, allocations: 182.5 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7192, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001223/0.7204, allocations: 217.5 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7204, allocations: 8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7204, allocations: 3.938 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7205, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.7209, allocations: 56 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7209, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.7212, allocations: 47.91 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.7213, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.7213, allocations: 109.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.7214, allocations: 3.938 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.7227, allocations: 245 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7227, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7227, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7228, allocations: 3.984 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.7243, allocations: 458.4 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7243, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.7247, allocations: 52.22 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7247, allocations: 4 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.7247, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.7247, allocations: 3.938 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7247, allocations: 432 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.726, allocations: 303.4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.7261, allocations: 81.11 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.7261, allocations: 4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.7265, allocations: 43.97 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.7265, allocations: 3.984 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7265, allocations: 4 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.7266, allocations: 75.28 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7266, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000247/0.7268, allocations: 11.94 kB / 1.172 GB, free: 13.4 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001652/0.7285, allocations: 0.8451 MB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.7298, allocations: 179.9 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7298, allocations: 4 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.7304, allocations: 92.08 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7306, allocations: 2.281 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.7319, allocations: 246.5 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.7322, allocations: 0.6729 MB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.7324, allocations: 31.98 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.7325, allocations: 11.44 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of SimCode: time 2.395e-06/0.7325, allocations: 0 / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.47/2.202, allocations: 1.652 MB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.583/11.79, allocations: 8.359 kB / 1.176 GB, free: 9.727 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches