Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.725/1.725, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 179.5 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 95.12 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.000324, allocations: 12 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5117, allocations: 121.3 MB / 1.041 GB, free: 58.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007678/0.5125, allocations: 341 kB / 1.041 GB, free: 58.78 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.5129, allocations: 230.4 kB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.513, allocations: 0.5938 kB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.513, allocations: 0 / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.412e-05/0.513, allocations: 0.625 kB / 1.041 GB, free: 58.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.5133, allocations: 28.41 kB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.5133, allocations: 22.17 kB / 1.041 GB, free: 58.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.5134, allocations: 6.047 kB / 1.041 GB, free: 58.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.5134, allocations: 3.406 kB / 1.041 GB, free: 58.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.5135, allocations: 15.83 kB / 1.042 GB, free: 58.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.5135, allocations: 0 / 1.042 GB, free: 58.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.5136, allocations: 30.75 kB / 1.042 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.5136, allocations: 9.578 kB / 1.042 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.5136, allocations: 33.8 kB / 1.042 GB, free: 58.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.5137, allocations: 24.12 kB / 1.042 GB, free: 58.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5138, allocations: 0 / 1.042 GB, free: 58.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5138, allocations: 1.203 kB / 1.042 GB, free: 58.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.5138, allocations: 1.469 kB / 1.042 GB, free: 58.5 MB / 0.698 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.0003099/0.5141, allocations: 330 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5141, allocations: 11.72 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.5142, allocations: 2.484 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.5143, allocations: 166.6 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5143, allocations: 3.219 kB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.5143, allocations: 7.656 kB / 1.042 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5144, allocations: 39.81 kB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5144, allocations: 5.281 kB / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.5144, allocations: 4.438 kB / 1.042 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5145, allocations: 7.406 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.5145, allocations: 17.27 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.5146, allocations: 162 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.5147, allocations: 45.77 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.5148, allocations: 20.39 kB / 1.042 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.5148, allocations: 84.08 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.5149, allocations: 37.75 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.5149, allocations: 0 / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001158/0.516, allocations: 486 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.5161, allocations: 52.66 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.823e-05/0.5161, allocations: 91.52 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.5161, allocations: 31.55 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.406e-05/0.5162, allocations: 81.98 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.5162, allocations: 28.77 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5162, allocations: 1.531 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.5163, allocations: 314.8 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.5163, allocations: 12.81 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.5163, allocations: 12.44 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.5164, allocations: 39.44 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5164, allocations: 0.875 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.602e-05/0.5165, allocations: 63.36 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5165, allocations: 9.75 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5165, allocations: 0.75 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5165, allocations: 1.578 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.5166, allocations: 15.41 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5166, allocations: 0.5 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.5167, allocations: 6.406 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5167, allocations: 5.312 kB / 1.044 GB, free: 56.42 MB / 0.698 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 5.019e-05/0.5167, allocations: 113.7 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.5168, allocations: 6 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.5169, allocations: 90.28 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5169, allocations: 0 / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5169, allocations: 0 / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5169, allocations: 0 / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.716e-05/0.517, allocations: 167.2 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.517, allocations: 3.938 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.5171, allocations: 20.25 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5171, allocations: 5.281 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5171, allocations: 5.359 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5171, allocations: 0.9531 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5172, allocations: 6.891 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5173, allocations: 113.4 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.5173, allocations: 82.91 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5174, allocations: 5.047 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.5174, allocations: 3.812 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.5174, allocations: 3.938 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5174, allocations: 4 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.708e-05/0.5175, allocations: 79.22 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5175, allocations: 0 / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001973/0.5177, allocations: 32.14 kB / 1.044 GB, free: 55.76 MB / 0.698 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.0001914/0.5179, allocations: 146.1 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.518, allocations: 37.91 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.518, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.518, allocations: 22.78 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.5182, allocations: 7.453 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.5184, allocations: 157.6 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.896e-05/0.5186, allocations: 0.6823 MB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.5186, allocations: 12.56 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.5186, allocations: 8.938 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.5186, allocations: 0.9688 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of Templates: time 0.002759/0.5214, allocations: 0.8501 MB / 1.046 GB, free: 54.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)