Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.0007607/0.0007607, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0007702/0.0007702, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.8535/0.8535, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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 1.765/1.765, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] 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.SmoothLimit,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.349e-05, allocations: 5.656 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00174/0.001754, allocations: 1.471 MB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.002523, allocations: 0.5773 MB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.149e-05/0.002585, allocations: 4 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.002613, allocations: 7.875 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.002659, allocations: 7.875 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.002941, allocations: 55.81 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003041, allocations: 35.84 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.003135, allocations: 4 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.003257, allocations: 27.86 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.003297, allocations: 7.984 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.00331, allocations: 4 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.003403, allocations: 59.94 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.003412, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.003433, allocations: 15.94 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003558, allocations: 75.77 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003559, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.92e-07/0.00356, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003564, allocations: 7.938 kB / 1.003 GB, free: 11.16 MB / 0.9636 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.0003421/0.003906, allocations: 278 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.003951, allocations: 13.34 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.003986, allocations: 34.75 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/0.01093, allocations: 2.432 MB / 1.006 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.01117, allocations: 153.6 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.01118, allocations: 384 / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.0112, allocations: 4.375 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.01399, allocations: 1.017 MB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.014, allocations: 4.188 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.01403, allocations: 4.125 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.01403, allocations: 0 / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004752/0.01878, allocations: 1.861 MB / 1.009 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.02194, allocations: 1.411 MB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.02673, allocations: 1.868 MB / 1.012 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/0.02911, allocations: 0.9413 MB / 1.013 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.02912, allocations: 0 / 1.013 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.02915, allocations: 38.56 kB / 1.013 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.02915, allocations: 4 kB / 1.013 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.007545/0.03669, allocations: 2.745 MB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.03673, allocations: 55.41 kB / 1.016 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.0368, allocations: 117.8 kB / 1.016 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.03683, allocations: 25.7 kB / 1.016 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.03688, allocations: 88.12 kB / 1.016 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.03691, allocations: 3.953 kB / 1.016 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.03698, allocations: 25.69 kB / 1.016 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.03706, allocations: 314.8 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.03967, allocations: 0.9365 MB / 1.017 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.04209, allocations: 0.9247 MB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.04656, allocations: 1.687 MB / 1.02 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.04656, allocations: 0 / 1.02 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.005148/0.05171, allocations: 1.808 MB / 1.021 GB, free: 8.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.05174, allocations: 8 kB / 1.021 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.05174, allocations: 8.016 kB / 1.021 GB, free: 8.164 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.05176, allocations: 0 / 1.021 GB, free: 8.164 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.05311, allocations: 467.4 kB / 1.022 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.05312, allocations: 0 / 1.022 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.05439, allocations: 455.5 kB / 1.022 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.05441, allocations: 7.984 kB / 1.022 GB, free: 7.254 MB / 0.9792 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 9.635e-05/0.0545, allocations: 109.8 kB / 1.022 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.05454, allocations: 11.89 kB / 1.022 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.05458, allocations: 11.61 kB / 1.022 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.05459, allocations: 0 / 1.022 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.05459, allocations: 4 kB / 1.022 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.0546, allocations: 0 / 1.022 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.05487, allocations: 269.7 kB / 1.023 GB, free: 6.797 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.05487, allocations: 7.938 kB / 1.023 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.05618, allocations: 463.4 kB / 1.023 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.05619, allocations: 0 / 1.023 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.05621, allocations: 7.984 kB / 1.023 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.05621, allocations: 0 / 1.023 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.05621, allocations: 0 / 1.023 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.06104, allocations: 1.9 MB / 1.025 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.06105, allocations: 11.89 kB / 1.025 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.06109, allocations: 7.969 kB / 1.025 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.06239, allocations: 451.5 kB / 1.025 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.06242, allocations: 8.359 kB / 1.025 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.06244, allocations: 3.984 kB / 1.025 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.06248, allocations: 91.22 kB / 1.025 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.06248, allocations: 0 / 1.025 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002037/0.06269, allocations: 40 kB / 1.025 GB, free: 3.809 MB / 0.9792 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.005263/0.06795, allocations: 2.433 MB / 1.028 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00498/0.07293, allocations: 1.873 MB / 1.03 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.07293, allocations: 3.938 kB / 1.03 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.07537, allocations: 0.9443 MB / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.07557, allocations: 0 / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/0.09449, allocations: 6.796 MB / 1.037 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.09454, allocations: 75.22 kB / 1.037 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.09476, allocations: 28 kB / 1.037 GB, free: 7.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.09493, allocations: 28.45 kB / 1.037 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of SimCode: time 9.12e-07/0.09493, allocations: 0 / 1.037 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09849/0.1934, allocations: 4.321 MB / 1.042 GB, free: 3.285 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.465, allocations: 6.188 kB / 1.042 GB, free: 3.281 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.270557695068419]