Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",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.004505/0.004505, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001283/0.001283, allocations: 196.4 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.029/3.029, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 68.08 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3201, allocations: 162.2 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002786/0.3229, allocations: 1.447 MB / 1.243 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004803/0.3235, allocations: 187.4 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.3235, allocations: 0 / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.3236, allocations: 0 / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.3236, allocations: 7.938 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3239, allocations: 43.89 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.324, allocations: 23.92 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.3241, allocations: 4 kB / 1.243 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.3241, allocations: 15.92 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.3242, allocations: 19.91 kB / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3242, allocations: 0 / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.3243, allocations: 31.97 kB / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3243, allocations: 0 / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3244, allocations: 11.94 kB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3245, allocations: 51.8 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3245, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3245, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3245, allocations: 0 / 1.243 GB, free: 8.309 MB / 0.9981 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.0004981/0.325, allocations: 343.4 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3251, allocations: 8.031 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.3251, allocations: 30.75 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3252, allocations: 8.891 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3253, allocations: 168.3 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3253, allocations: 4.375 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3253, allocations: 4.375 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3255, allocations: 54.17 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3255, allocations: 3.938 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3255, allocations: 0 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3256, allocations: 0 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3257, allocations: 35.95 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3261, allocations: 252.9 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3263, allocations: 42.53 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.3264, allocations: 20.91 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.3265, allocations: 81.11 kB / 1.244 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3265, allocations: 38.55 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3265, allocations: 0 / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003753/0.3269, allocations: 85.55 kB / 1.244 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.3269, allocations: 55.39 kB / 1.244 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.327, allocations: 101.9 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.327, allocations: 25.7 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3271, allocations: 84.27 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3271, allocations: 19.88 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3272, allocations: 13.66 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3273, allocations: 310.8 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.3274, allocations: 19.98 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.3275, allocations: 11.98 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3277, allocations: 48.88 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3277, allocations: 3.938 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.3279, allocations: 69.59 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3279, allocations: 4 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3279, allocations: 0 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3279, allocations: 0 / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.328, allocations: 12.03 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.328, allocations: 0 / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3281, allocations: 7.984 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3281, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.334e-05/0.3282, allocations: 114.3 kB / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3282, allocations: 256 / 1.245 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3285, allocations: 84.7 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3285, allocations: 0 / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3285, allocations: 4 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3285, allocations: 0 / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3287, allocations: 161.6 kB / 1.245 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3287, allocations: 0 / 1.245 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.3288, allocations: 11.98 kB / 1.245 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3288, allocations: 0 / 1.245 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.3288, allocations: 0 / 1.245 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3288, allocations: 3.938 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3288, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3291, allocations: 167.5 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.3291, allocations: 77.11 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.3291, allocations: 4 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3292, allocations: 7.984 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3293, allocations: 4 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3293, allocations: 4.031 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.3293, allocations: 87.2 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3293, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002434/0.3296, allocations: 12 kB / 1.246 GB, free: 5.297 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0006327/0.3302, allocations: 0.7123 MB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3305, allocations: 43.95 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3305, allocations: 0 / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3306, allocations: 19.92 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.3308, allocations: 7.938 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.3312, allocations: 139.2 kB / 1.247 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3316, allocations: 0.6729 MB / 1.247 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.3316, allocations: 4 kB / 1.247 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3316, allocations: 11.42 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3316, allocations: 0 / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3531, allocations: 1.455 MB / 1.249 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.987, allocations: 14.75 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches