Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_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.006312/0.006312, allocations: 98.38 kB / 15.73 MB, free: 6.445 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.001137/0.001137, allocations: 201.4 kB / 16.68 MB, free: 6.352 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7425 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 75.83 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3152, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001663/0.3169, allocations: 0.5913 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3183, allocations: 1.118 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.3183, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.3184, allocations: 0 / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.3186, allocations: 15.92 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.3186, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.3186, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3187, allocations: 8 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.3187, allocations: 7.922 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.213e-05/0.3187, allocations: 4 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.184e-06/0.3187, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3188, allocations: 15.98 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.3189, allocations: 3.938 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.3189, allocations: 7.938 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.319, allocations: 15.97 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.319, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.319, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.319, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 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.0003007/0.3193, allocations: 319.5 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3193, allocations: 16.03 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.3194, allocations: 30.75 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.3194, allocations: 0.9375 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3195, allocations: 172.3 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.3195, allocations: 4.375 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3196, allocations: 384 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.3197, allocations: 37.81 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3197, allocations: 3.984 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3197, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3197, allocations: 3.938 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.3197, allocations: 12 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3199, allocations: 149.7 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3201, allocations: 30.58 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.3201, allocations: 20.88 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.3203, allocations: 81.11 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3203, allocations: 34.5 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3203, allocations: 7.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.004002/0.3243, allocations: 0.5715 MB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3244, allocations: 51.41 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.3244, allocations: 89.86 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3244, allocations: 29.7 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.3245, allocations: 80.14 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.3245, allocations: 15.89 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3246, allocations: 17.72 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3247, allocations: 322.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.3253, allocations: 75.95 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.3259, allocations: 106.5 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3271, allocations: 190.4 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3271, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001221/0.3283, allocations: 217.5 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3283, allocations: 8.062 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3284, allocations: 4 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3284, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.3288, allocations: 47.97 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3288, allocations: 4 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3291, allocations: 35.98 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.3291, allocations: 4 kB / 1.225 GB, free: 9.398 MB / 0.9825 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.288e-05/0.3292, allocations: 114.4 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3293, allocations: 7.938 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.3306, allocations: 241 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3306, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3306, allocations: 4.25 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3307, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3321, allocations: 466.3 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3322, allocations: 0 / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.3325, allocations: 47.97 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3325, allocations: 0 / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3326, allocations: 4 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3326, allocations: 4 kB / 1.225 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3326, allocations: 4 kB / 1.225 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3339, allocations: 299.4 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3339, allocations: 81.53 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3339, allocations: 0 / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.3343, allocations: 39.97 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.3343, allocations: 7.938 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3343, allocations: 3.938 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.3344, allocations: 75.28 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3344, allocations: 4 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002435/0.3346, allocations: 19.94 kB / 1.226 GB, free: 7.902 MB / 0.9825 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.001616/0.3363, allocations: 0.8335 MB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.3375, allocations: 183.9 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3376, allocations: 4 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.3382, allocations: 92.06 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.3384, allocations: 8.922 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3397, allocations: 246.3 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.34, allocations: 0.6768 MB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.3402, allocations: 28.25 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.3402, allocations: 15.44 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3402, allocations: 0 / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.097/1.438, allocations: 1.643 MB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/10.42, allocations: 14.73 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches