Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.88 kB / 1.108 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9073, allocations: 168.7 MB / 1.273 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00191/0.9092, allocations: 0.6086 MB / 1.273 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005017/0.9097, allocations: 163.4 kB / 1.274 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.9097, allocations: 0 / 1.274 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.9098, allocations: 0 / 1.274 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.335e-05/0.9098, allocations: 0 / 1.274 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.9101, allocations: 47.83 kB / 1.274 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.9102, allocations: 11.98 kB / 1.274 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.9103, allocations: 8 kB / 1.274 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.9103, allocations: 4 kB / 1.274 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.9104, allocations: 15.92 kB / 1.274 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.9104, allocations: 4 kB / 1.274 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.9105, allocations: 31.95 kB / 1.274 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.9105, allocations: 4 kB / 1.274 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.9105, allocations: 7.922 kB / 1.274 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.9106, allocations: 33.58 kB / 1.274 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.9107, allocations: 4 kB / 1.274 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9107, allocations: 0 / 1.274 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.9107, allocations: 0 / 1.274 GB, free: 3.359 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004757/0.9111, allocations: 335.4 kB / 1.274 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.9112, allocations: 12.03 kB / 1.274 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.9113, allocations: 30.75 kB / 1.274 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.9113, allocations: 8.922 kB / 1.274 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.9115, allocations: 160.4 kB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.9115, allocations: 384 / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.9115, allocations: 8.375 kB / 1.274 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.9116, allocations: 46.19 kB / 1.274 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9116, allocations: 3.938 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.9116, allocations: 3.938 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9116, allocations: 4 kB / 1.274 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.9117, allocations: 15.98 kB / 1.274 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.9119, allocations: 161.6 kB / 1.275 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.912, allocations: 42.62 kB / 1.275 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.9121, allocations: 16.98 kB / 1.275 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.9122, allocations: 89.03 kB / 1.275 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9122, allocations: 34.56 kB / 1.275 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.9122, allocations: 0 / 1.275 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.001335/0.9135, allocations: 492 kB / 1.275 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9136, allocations: 51.41 kB / 1.275 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.9137, allocations: 97.84 kB / 1.275 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.9137, allocations: 29.7 kB / 1.275 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.9137, allocations: 84.08 kB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.9138, allocations: 19.98 kB / 1.275 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.9138, allocations: 25.7 kB / 1.275 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.914, allocations: 314.8 kB / 1.276 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.914, allocations: 8 kB / 1.276 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.914, allocations: 19.92 kB / 1.276 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.9141, allocations: 32.86 kB / 1.276 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.9141, allocations: 3.938 kB / 1.276 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001184/0.9142, allocations: 81.55 kB / 1.276 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9142, allocations: 4 kB / 1.276 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.9142, allocations: 8 kB / 1.276 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9142, allocations: 3.984 kB / 1.276 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.9143, allocations: 8 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.9143, allocations: 4.438 kB / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.9143, allocations: 3.938 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.9144, allocations: 0 / 1.276 GB, free: 0.8203 MB / 0.9669 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 (8): * Single equations (assignments): 8 * 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.341e-05/0.9144, allocations: 114.4 kB / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.9145, allocations: 3.938 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.9146, allocations: 93.62 kB / 1.276 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9146, allocations: 0 / 1.276 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9146, allocations: 0 / 1.276 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9146, allocations: 0 / 1.276 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.9149, allocations: 161.7 kB / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9149, allocations: 0 / 1.276 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.9149, allocations: 23.86 kB / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9149, allocations: 0 / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.915, allocations: 4 kB / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.915, allocations: 0 / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.915, allocations: 4 kB / 1.276 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.9152, allocations: 113 kB / 1.276 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.9152, allocations: 89.08 kB / 1.277 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.9152, allocations: 0 / 1.277 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.9153, allocations: 3.938 kB / 1.277 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.9153, allocations: 7.984 kB / 1.277 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.9153, allocations: 7.938 kB / 1.277 GB, free: 108 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.9154, allocations: 83.34 kB / 1.277 GB, free: 24 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9154, allocations: 0 / 1.277 GB, free: 24 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002551/0.9156, allocations: 27.98 kB / 1.277 GB, free: 15.99 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0007416/0.9164, allocations: 0.6791 MB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.9165, allocations: 43.98 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9165, allocations: 4.156 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.9166, allocations: 23.92 kB / 1.277 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.9167, allocations: 8 kB / 1.277 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.9185, allocations: 1.211 MB / 1.279 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.9189, allocations: 0.6807 MB / 1.279 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.919, allocations: 7.984 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.9191, allocations: 15.44 kB / 1.279 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.9191, allocations: 4 kB / 1.279 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.9479, allocations: 1.805 MB / 1.281 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.055, allocations: 1.75 kB / 1.281 GB, free: 11.47 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.190214189235121]