Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_9_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.007256/0.007256, allocations: 101.7 kB / 15.73 MB, free: 6.48 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.001667/0.001668, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.05 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2323, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001705/0.234, allocations: 0.5921 MB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2353, allocations: 1.108 MB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.2353, allocations: 0 / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.2353, allocations: 0 / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2355, allocations: 23.92 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.2355, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.344e-05/0.2356, allocations: 4 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.2356, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.2356, allocations: 4 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.326e-05/0.2357, allocations: 11.92 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.2357, allocations: 3.938 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.2358, allocations: 19.97 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-06/0.2358, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.096e-05/0.2358, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.578e-05/0.2359, allocations: 19.97 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2359, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2359, allocations: 3.938 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2359, allocations: 4 kB / 1.089 GB, free: 148 kB / 0.8419 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.0002356/0.2361, allocations: 311.6 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2362, allocations: 11.97 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.482e-05/0.2362, allocations: 30.75 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.2362, allocations: 12.86 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.2363, allocations: 164.4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.2363, allocations: 4.375 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.2364, allocations: 384 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.2364, allocations: 37.81 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2365, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.2365, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2365, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.2365, allocations: 11.94 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.2366, allocations: 145.7 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.2368, allocations: 34.72 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.2368, allocations: 16.84 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.237, allocations: 81.11 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.237, allocations: 34.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.237, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.004332/0.2413, allocations: 0.5706 MB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2414, allocations: 59.41 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.811e-05/0.2414, allocations: 89.86 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2414, allocations: 25.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.2415, allocations: 89.48 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.2415, allocations: 12.38 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.2416, allocations: 17.72 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.2416, allocations: 318.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.2423, allocations: 83.95 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.2429, allocations: 110.6 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.2442, allocations: 186.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2442, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001314/0.2455, allocations: 217.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2455, allocations: 8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2455, allocations: 96 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2456, allocations: 3.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.246, allocations: 52 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.246, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.2463, allocations: 39.98 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2464, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 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 8.794e-05/0.2465, allocations: 122 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2465, allocations: 7.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.2479, allocations: 233 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2479, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.2494, allocations: 462.3 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2494, allocations: 3.938 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.2498, allocations: 51.91 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2498, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2499, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2499, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2499, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2512, allocations: 307.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.2512, allocations: 77.11 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2512, allocations: 8.047 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.2516, allocations: 39.98 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.2516, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2517, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.193e-05/0.2517, allocations: 75.28 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2517, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002511/0.2519, allocations: 15.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 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.001568/0.2535, allocations: 0.8412 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.2548, allocations: 183.8 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2548, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.2555, allocations: 92.12 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2557, allocations: 5.562 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.257, allocations: 241.9 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2572, allocations: 0.6807 MB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.2574, allocations: 28 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.2575, allocations: 11.44 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2575, allocations: 0 / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.2735, allocations: 1.636 MB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.87, allocations: 14.84 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches