Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.02/2.02, allocations: 0.5045 GB / 0.8104 GB, free: 2.824 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 71.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8727, allocations: 180 MB / 1.352 GB, free: 1.734 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002342/0.875, allocations: 1.459 MB / 1.354 GB, free: 276 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.8755, allocations: 187.4 kB / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.8755, allocations: 0 / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.8755, allocations: 7.938 kB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.8756, allocations: 3.938 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.8759, allocations: 38.53 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.876, allocations: 23.92 kB / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.8761, allocations: 7.984 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.8761, allocations: 15.98 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.8762, allocations: 7.938 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.8762, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.8762, allocations: 31.97 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.8763, allocations: 11.92 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.8763, allocations: 4 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.8764, allocations: 42.12 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.8764, allocations: 0 / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8764, allocations: 0 / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.8764, allocations: 0 / 1.354 GB, free: 15.9 MB / 1.042 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.0003662/0.8768, allocations: 278.2 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8768, allocations: 12.92 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.8769, allocations: 30.75 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.8769, allocations: 4.922 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/0.877, allocations: 110.5 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.877, allocations: 384 / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.877, allocations: 384 / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.8771, allocations: 54.17 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.8771, allocations: 7.875 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.8772, allocations: 4 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8772, allocations: 8 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.8772, allocations: 27.97 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.8775, allocations: 220 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.8776, allocations: 38.5 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.8777, allocations: 24.89 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.696e-05/0.8778, allocations: 7.938 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.8778, allocations: 30.56 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.8778, allocations: 8 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002199/0.878, allocations: 77.64 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.878, allocations: 55.41 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.8781, allocations: 101.8 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.8781, allocations: 25.7 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.8781, allocations: 84.14 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.8781, allocations: 11.89 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.8782, allocations: 17.84 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.8783, allocations: 314.8 kB / 1.356 GB, free: 14.19 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.8783, allocations: 15.98 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.8783, allocations: 19.92 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/0.8784, allocations: 32.83 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8784, allocations: 7.938 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.8785, allocations: 69.72 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8785, allocations: 8 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8785, allocations: 0 / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8786, allocations: 0 / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.8786, allocations: 7.984 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.8786, allocations: 4 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.8786, allocations: 3.984 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.8787, allocations: 4 kB / 1.356 GB, free: 14.01 MB / 1.042 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 5.791e-05/0.8787, allocations: 118.3 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.8787, allocations: 7.953 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.8789, allocations: 72.95 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8789, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8789, allocations: 3.938 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8789, allocations: 7.938 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.879, allocations: 128.7 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.879, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.879, allocations: 12.02 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.879, allocations: 4 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.879, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.879, allocations: 0 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.879, allocations: 256 / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.8791, allocations: 167.4 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.8792, allocations: 4 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.8792, allocations: 4 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.8792, allocations: 12.02 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.8792, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.8792, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.883e-05/0.8793, allocations: 87.27 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8793, allocations: 0 / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001602/0.8794, allocations: 12 kB / 1.357 GB, free: 13.31 MB / 1.042 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.0003982/0.8798, allocations: 0.7083 MB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.88, allocations: 43.98 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.88, allocations: 0 / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.8802, allocations: 19.98 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.8804, allocations: 0 / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.8808, allocations: 143.2 kB / 1.357 GB, free: 12.33 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.8809, allocations: 63.3 kB / 1.357 GB, free: 12.25 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.8809, allocations: 4.125 kB / 1.357 GB, free: 12.24 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.8809, allocations: 11.42 kB / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of SimCode: time 5.31e-07/0.8809, allocations: 0 / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07995/0.9609, allocations: 1.979 MB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/8.071, allocations: 5.547 kB / 1.359 GB, free: 10.38 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothExponential.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothExponential.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothExponential_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.204215647652745]